Introduce ShowSurfaceUpdatesPreferenceController

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

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I649549af1c5dd9d541bc9e6a62b4553fa7877233
This commit is contained in:
jeffreyhuang
2017-09-27 14:55:46 -07:00
parent be5e7510dd
commit 0c292c08dc
3 changed files with 272 additions and 1 deletions

View File

@@ -279,7 +279,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
// bluetooth audio ldac codec: playback quality
controllers.add(new ShowTapsPreferenceController(context));
controllers.add(new PointerLocationPreferenceController(context));
// show surface updates
controllers.add(new ShowSurfaceUpdatesPreferenceController(context));
// show layout bounds
// force rtl layout direction
// window animation scale