Introduce HardwareOverlaysPreferenceController

- Create new HardwareOverlaysPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller
 - Added ShadowParcel to help with testing
 HardwareOverlaysPreferenceController and
 ShowSurfaceUpdatesPreferenceController

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ib6b9679f2a2d2ec84f91da5ac0b68cb2b21eea72
This commit is contained in:
jeffreyhuang
2017-09-28 16:49:53 -07:00
parent 5ae503b383
commit 86e6304154
5 changed files with 291 additions and 16 deletions

View File

@@ -298,7 +298,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
// debug gpu overdraw
// debug non-rectangular clip operations
controllers.add(new ForceMSAAPreferenceController(context));
// disable hw overlays
controllers.add(new HardwareOverlaysPreferenceController(context));
// simulate color space
// set gpu renderer
// disable usb audio routing