Introduce NotificationChannelWarningsPrefCtrl

- Create new NotificationChannelWarningsPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I232b24ee0505eae254bd1d43b7d91ab8860285e2
This commit is contained in:
jeffreyhuang
2017-10-02 12:46:39 -07:00
parent 498e883d52
commit 421fee270f
3 changed files with 247 additions and 1 deletions

View File

@@ -308,7 +308,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
// background process limit
// background check
controllers.add(new AppsNotRespondingPreferenceController(context));
// show notification channel warnings
controllers.add(new NotificationChannelWarningsPreferenceController(context));
// inactive apps
controllers.add(new AllowAppsOnExternalPreferenceController(context));
// force activities to be resizable