commit | 00d746fea3354f553eda361ecc1506dc88d9c1b3 | [log] [tgz] |
---|---|---|
author | Raff Tsai <rafftsai@google.com> | Mon Sep 30 14:39:32 2019 +0800 |
committer | Raff Tsai <rafftsai@google.com> | Fri Nov 08 08:47:15 2019 +0000 |
tree | bf1b080825e6b0f49d988bc0f1fe600ad6871394 | |
parent | c73945bd841bb16d038471cd592b28db85e91951 [diff] |
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 (cherry picked from commit d5b1510994ee265c7d95d66f819352dca91f7d24)