Fix Jank when factory resetting
A progress dialog is shown and quickly disappear caused the UI jank. The progress dialog should be shown only when erase external SD card is needed because WipeDataTask only wipe SD card in it background task. Other factory reset function is done in Thread thr. Fixes: 140594314 Test: manual Change-Id: I71ab1577165ceab79704b359c47c3f752d9dfc79
Loading
Please register or sign in to comment