Merge "Refresh the App Info option menu after unintalling app updates." into oc-dev am: 64857437a4

am: 42126366f1

Change-Id: I98e675e80fcd1e3152b02395baec3559a2f7bf62
This commit is contained in:
Doris Ling
2017-04-28 02:28:23 +00:00
committed by android-build-merger
2 changed files with 13 additions and 0 deletions

View File

@@ -526,6 +526,9 @@ public class InstalledAppDetails extends AppInfoBase
super.onActivityResult(requestCode, resultCode, data);
switch (requestCode) {
case REQUEST_UNINSTALL:
// Refresh option menu
getActivity().invalidateOptionsMenu();
if (mDisableAfterUninstall) {
mDisableAfterUninstall = false;
new DisableChanger(this, mAppEntry.info,