commit | 2d709131bac0fc4bfd12efe0f316c635c0ca700d | [log] [tgz] |
---|---|---|
author | Raff Tsai <rafftsai@google.com> | Mon Jul 29 16:24:39 2019 +0800 |
committer | Raff Tsai <rafftsai@google.com> | Fri Sep 06 05:24:12 2019 +0000 |
tree | a7b1f972364d86ada484558f7da05622493322c0 | |
parent | f85844d8e6a17826ad89bba6686a1e6d3f331e25 [diff] |
Fix Settings crash when click uninstall button When mPackageName is null, mFinish is true. OnResume() doesn't invoke refreshUI(). It causes uninstall button is still enabled. The solution is hiding AppButtonsPreference when mFinish is true. Fixes: 138524326 Test: make RunSettingsRoboTests ROBOTEST_FILTER Change-Id: I9759e53f002afbd4c88d8d536df3bf01c343135e (cherry picked from commit 88228c33994fe963022b950ff4affc81d4bf3021)