Mobile-UXSDK-Android icon indicating copy to clipboard operation
Mobile-UXSDK-Android copied to clipboard

Setting Max Altitude with a decimal point crashes the app

Open andrewdittmer opened this issue 2 years ago • 0 comments

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

andrewdittmer avatar Sep 14 '22 07:09 andrewdittmer