Hide TARE page when disabled.
Hide the TARE page option when TARE is disabled or the page is explicitly flagged to be shown. Bug: 270498386 Bug: 270964794 Test: manually modify flags and check if TARE option shows Change-Id: Icc23a34ff1b9af5f1ddb649c4aefbea22a123498
This commit is contained in:
@@ -666,6 +666,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
|
||||
controllers.add(new DefaultLaunchPreferenceController(context, "density"));
|
||||
controllers.add(new DefaultLaunchPreferenceController(context, "background_check"));
|
||||
controllers.add(new DefaultLaunchPreferenceController(context, "inactive_apps"));
|
||||
controllers.add(new TarePreferenceController(context));
|
||||
controllers.add(new AutofillCategoryController(context, lifecycle));
|
||||
controllers.add(new AutofillLoggingLevelPreferenceController(context, lifecycle));
|
||||
controllers.add(new AutofillResetOptionsPreferenceController(context));
|
||||
|
Reference in New Issue
Block a user