Introduce WebViewAppPreferenceControllerV2

- Create new WebViewAppPreferenceControllerV2
 - Deprecate WebViewAppPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I45bb7beb98ef9c7a998f64e81d180613c795ed3a
This commit is contained in:
jeffreyhuang
2017-10-02 18:18:28 -07:00
parent 498e883d52
commit aa4bf8c266
6 changed files with 227 additions and 2 deletions

View File

@@ -246,7 +246,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
// running services
// convert to file encryption
controllers.add(new PictureColorModePreferenceController(context, lifecycle));
// webview implementation
controllers.add(new WebViewAppPreferenceControllerV2(context));
controllers.add(new CoolColorTemperaturePreferenceController(context));
controllers.add(new DisableAutomaticUpdatesPreferenceController(context));
// system ui demo mode