commit | 88228c33994fe963022b950ff4affc81d4bf3021 | [log] [tgz] |
---|---|---|
author | Raff Tsai <rafftsai@google.com> | Mon Jul 29 16:24:39 2019 +0800 |
committer | Raff Tsai <rafftsai@google.com> | Tue Jul 30 11:18:09 2019 +0800 |
tree | 5687f07723af9ac844371f71d3118c385b3b9762 | |
parent | cd87fa6af7c0b20b4b9243db47ea025bc10565bd [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