Introduce PointerLocationPreferenceController

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

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ia2d190ec39d35e10d7ae6663584b993d16958d5e
This commit is contained in:
jeffreyhuang
2017-09-27 13:59:46 -07:00
parent 3e6488448c
commit 5acf47e402
3 changed files with 219 additions and 1 deletions

View File

@@ -223,7 +223,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
// bluetooth audio channel mode
// bluetooth audio ldac codec: playback quality
controllers.add(new ShowTapsPreferenceController(context));
// pointer location
controllers.add(new PointerLocationPreferenceController(context));
// show surface updates
// show layout bounds
// force rtl layout direction