Fix switching running/cached apps with memory bar
Fixes issue #38735. Invalidate the owner fragment options menu when changing mode from within RunningProcessesView. Change-Id: I85af7a953a1f4f570902f0959ee284f208871bce
This commit is contained in:
parent
f9a2f324d7
commit
eca1fc2cad
@@ -1047,6 +1047,7 @@ public class ManageApplications extends Fragment implements
|
||||
mOptionsMenu.findItem(SHOW_RUNNING_SERVICES).setVisible(showingBackground);
|
||||
mOptionsMenu.findItem(SHOW_BACKGROUND_PROCESSES).setVisible(!showingBackground);
|
||||
mOptionsMenu.findItem(RESET_APP_PREFERENCES).setVisible(false);
|
||||
mShowBackground = showingBackground;
|
||||
} else {
|
||||
mOptionsMenu.findItem(SORT_ORDER_ALPHA).setVisible(mSortOrder != SORT_ORDER_ALPHA);
|
||||
mOptionsMenu.findItem(SORT_ORDER_SIZE).setVisible(mSortOrder != SORT_ORDER_SIZE);
|
||||
|
Reference in New Issue
Block a user