Introduce FileEncryptionPreferenceController

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

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I19f68fa719442bad03fee7ab3939510095257dee
This commit is contained in:
jeffreyhuang
2017-10-03 11:44:21 -07:00
parent 498e883d52
commit 464da0b267
3 changed files with 240 additions and 1 deletions

View File

@@ -244,7 +244,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
controllers.add(new BluetoothSnoopLogPreferenceController(context));
controllers.add(new OemUnlockPreferenceController(context, activity, fragment));
// running services
// convert to file encryption
controllers.add(new FileEncryptionPreferenceController(context));
controllers.add(new PictureColorModePreferenceController(context, lifecycle));
// webview implementation
controllers.add(new CoolColorTemperaturePreferenceController(context));