Handle uninstall from notifications list

Don't crash in InstalledAppDetails on invalid app and finish app
notification details when the app goes away.

Bug: 22311566
Change-Id: I0bb7302dc16dd1a6f3aca152037705ad657d5554
This commit is contained in:
Jason Monk
2015-07-07 14:57:47 -04:00
parent 2bd619d5ed
commit 38f1889fea
2 changed files with 23 additions and 10 deletions

View File

@@ -379,6 +379,9 @@ public class InstalledAppDetails extends AppInfoBase
@Override
public void onPrepareOptionsMenu(Menu menu) {
if (mFinishing) {
return;
}
boolean showIt = true;
if (mUpdatedSysApp) {
showIt = false;