Introduce PictureColorModePreferenceController
- Create new PictureColorModePreferenceController - Create controller inside the DashboardFragment - Refactor ColorModePreference so isAvailable() no longer depends on ColorModePreference - Port logic from DevelopmentSettings into the controller Bug: 34203528 Test: make RunSettingsRoboTests -j40 Change-Id: I8dff5b0d5ad1d7f043fc7ead540b2c0c960933e3
This commit is contained in:
@@ -181,7 +181,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
|
||||
controllers.add(new OemUnlockPreferenceController(context, activity, fragment));
|
||||
// running services
|
||||
// convert to file encryption
|
||||
// picture color mode
|
||||
controllers.add(new PictureColorModePreferenceController(context, lifecycle));
|
||||
// webview implementation
|
||||
// cool color temperature
|
||||
// automatic system updates
|
||||
|
Reference in New Issue
Block a user