Introduce GpuViewUpdatesPreferenceController
- Create new GpuViewUpdatesPreferenceController
- Create controller inside the DashboardFragment
- Port logic from DevelopmentSettings into the controller
- Fix a typo in preference naming
Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ieff20634238900137acc1524edb6fd0d4bfce894
diff --git a/res/xml/development_prefs.xml b/res/xml/development_prefs.xml
index 240191d..dec5482 100644
--- a/res/xml/development_prefs.xml
+++ b/res/xml/development_prefs.xml
@@ -349,7 +349,7 @@
android:summary="@string/force_hw_ui_summary"/>
<SwitchPreference
- android:key="show_hw_screen_udpates"
+ android:key="show_hw_screen_updates"
android:title="@string/show_hw_screen_updates"
android:summary="@string/show_hw_screen_updates_summary"/>