Introduce AppsNotRespondingPreferenceController

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

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I9cf9a19b59bf21d6aa0205377025f82ed21b7e51
This commit is contained in:
jeffreyhuang
2017-09-29 16:10:13 -07:00
parent 5ae503b383
commit 1bb0091d94
3 changed files with 205 additions and 1 deletions

View File

@@ -307,7 +307,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
// don't keep activities
// background process limit
// background check
// show all anrs
controllers.add(new AppsNotRespondingPreferenceController(context));
// show notification channel warnings
// inactive apps
// force allow apps on external