Introduce FreeformWindowsPreferenceController

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

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I3ce3731a2aa37833c635e5bdaaf452491b2dadb5
This commit is contained in:
jeffreyhuang
2017-10-12 13:53:11 -07:00
parent 379ba7ffff
commit de895f3857
3 changed files with 241 additions and 0 deletions

View File

@@ -411,6 +411,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
// inactive apps
controllers.add(new AllowAppsOnExternalPreferenceController(context));
controllers.add(new ResizableActivityPreferenceController(context));
controllers.add(new FreeformWindowsPreferenceController(context));
controllers.add(new ShortcutManagerThrottlingPreferenceController(context));
return controllers;
}