Skip to content

Commit

Permalink
fwb: SystemUI Tuner: Disable obsolete AOD category
Browse files Browse the repository at this point in the history
Change-Id: Ia380fd425c4c95ccb307b40cabecad02be60a6f4
  • Loading branch information
maxwen authored and eldainosor committed Jul 11, 2021
1 parent cbb5646 commit b2d5f27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/SystemUI/res/xml/tuner_prefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
sysui:metricsAction="315" />

</PreferenceScreen>

<!--
<PreferenceScreen
android:key="doze"
android:title="@string/tuner_doze">
Expand All @@ -47,7 +47,7 @@
sysui:defValue="true" />
</PreferenceScreen>

-->
<Preference
android:key="nav_bar"
android:title="@string/nav_bar"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ public void onActivityCreated(Bundle savedInstanceState) {
public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
addPreferencesFromResource(R.xml.tuner_prefs);
getPreferenceScreen().removePreference(findPreference(KEY_PLUGINS));
if (!alwaysOnAvailable()) {
/*if (!alwaysOnAvailable()) {
getPreferenceScreen().removePreference(findPreference(KEY_DOZE));
}
}*/
/*if (!Build.IS_DEBUGGABLE) {
for (int i = 0; i < DEBUG_ONLY.length; i++) {
Preference preference = findPreference(DEBUG_ONLY[i]);
Expand Down

0 comments on commit b2d5f27

Please sign in to comment.