Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting Max Altitude with a decimal point crashes the app #146

Open
andrewdittmer opened this issue Sep 14, 2022 · 0 comments
Open

Setting Max Altitude with a decimal point crashes the app #146

andrewdittmer opened this issue Sep 14, 2022 · 0 comments

Comments

@andrewdittmer
Copy link

If a user attempts to set max altitude and enters a decimal point, although the text input doesn't show the decimal point, if they press "Done" the app crashes instead of handling it gracefully.

Crash happens in dji.ux.panel.PreFlightCheckListPanel in verifyAndSetMaxAltitude

NumberFormatException java.lang.Integer in parseInt
For input string: "2.00"

Tested on Google Pixel 4a with SDK 4.16.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant