Enhanced Connectivity Dev Toggle

Add Enhanced Connectivity Developer option switch. This switch will
allow the connectivity thermal power manager to actively shutoff 5G in
order to save power when cellular throughput is below the set threshold.

ScreenShots: https://drive.google.com/drive/folders/109VTTXqIn5Teg6daHpNHV7z13MmEEb7Q?usp=sharing

Bug: 147305171
Test: make RunSettingsRoboTests ROBOTEST_FILTER=EnhancedConnectivityPreferenceControllerTest
Test: On-device using developer option menu

Change-Id: I311cfcadb8325db30ff4917959414b5a7d108bcc
This commit is contained in:
Blake Kragten
2020-01-28 13:45:13 -08:00
parent d4e2f78d9a
commit 79b0315be6
4 changed files with 194 additions and 0 deletions

View File

@@ -468,6 +468,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
controllers.add(new BluetoothMapVersionPreferenceController(context));
controllers.add(new BluetoothA2dpHwOffloadPreferenceController(context, fragment));
controllers.add(new BluetoothMaxConnectedAudioDevicesPreferenceController(context));
controllers.add(new EnhancedConnectivityPreferenceController(context));
controllers.add(new ShowTapsPreferenceController(context));
controllers.add(new PointerLocationPreferenceController(context));
controllers.add(new ShowSurfaceUpdatesPreferenceController(context));