Settings: Allow to quickly open Running Services from meminfo view
@/neobuddy89: Updated for A14. Change-Id: I252ce85bda3daab5c5e4db097a6fd743365bc309 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
@@ -112,6 +112,12 @@ public class RunningServices extends SettingsPreferenceFragment implements
|
||||
boolean showingBackground = mRunningProcessesView.mAdapter.getShowBackground();
|
||||
mOptionsMenu.findItem(SHOW_RUNNING_SERVICES).setVisible(showingBackground);
|
||||
mOptionsMenu.findItem(SHOW_BACKGROUND_PROCESSES).setVisible(!showingBackground);
|
||||
|
||||
if (!showingBackground) {
|
||||
getActivity().setTitle(com.android.settingslib.R.string.runningservices_settings_title);
|
||||
} else {
|
||||
getActivity().setTitle(R.string.background_processes_settings_title);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user