Introduce ConnectivityMonitorPreferenceCtrlV2

- Create new ConnectivityMonitorPreferenceControllerV2
 - Deprecate ConnectivityMonitorPreferenceController
 - Create controller inside the DashboardFragment
 - Copy logic from ConnectivityMonitorPreferenceController with slight
 modifications for dashboard fragment compatibility

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ibba32208abb2535e1d13b299705e4f4e63aef8c8
This commit is contained in:
jeffreyhuang
2017-09-26 15:32:15 -07:00
parent 8caf1ff929
commit 141c92bf62
7 changed files with 344 additions and 1 deletions

View File

@@ -198,7 +198,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
// verify apps over usb
// logger buffer sizes
// store logger data persistently on device
// telephony monitor
controllers.add(new ConnectivityMonitorPreferenceControllerV2(context));
controllers.add(new CameraLaserSensorPreferenceControllerV2(context));
controllers.add(new CameraHalHdrPlusPreferenceControllerV2(context));
// feature flags