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: On-device using developer option menu
Change-Id: Ia990db0fe8a8cea47b12b570c46c10a5ab558a27
This commit is contained in:
Blake Kragten
2020-02-04 12:00:29 -08:00
parent eac5414862
commit 28e7b5ae61
2 changed files with 17 additions and 0 deletions

View File

@@ -10520,6 +10520,17 @@ public final class Settings {
*/
public static final String MODE_RINGER = "mode_ringer";
/**
* Specifies whether Enhanced Connectivity is enabled or not. This setting allows the
* Connectivity Thermal Power Manager to actively help the device to save power in 5G
* scenarios
* Type: int 1 is enabled, 0 is disabled
*
* @hide
*/
public static final String ENHANCED_CONNECTIVITY_ENABLED =
"enhanced_connectivity_enable";
/**
* Overlay display devices setting.
* The associated value is a specially formatted string that describes the

View File

@@ -655,6 +655,9 @@
<!-- Setting Checkbox title for enabling Bluetooth Gabeldorsche. [CHAR LIMIT=40] -->
<string name="bluetooth_enable_gabeldorsche">Enable Gabeldorsche</string>
<!-- Setting Checkbox title for enabling Enhanced Connectivity [CHAR LIMIT=80] -->
<string name="enhanced_connectivity">Enhanced Connectivity</string>
<!-- UI debug setting: Select Bluetooth AVRCP Version -->
<string name="bluetooth_select_avrcp_version_string">Bluetooth AVRCP Version</string>
<!-- UI debug setting: Select Bluetooth AVRCP Version -->
@@ -764,6 +767,9 @@
<!-- Summary of checkbox for enabling Bluetooth Gabeldorche features [CHAR LIMIT=none] -->
<string name="bluetooth_enable_gabeldorsche_summary">Enables the Bluetooth Gabeldorsche feature stack.</string>
<!-- Summary of checkbox for enabling Enhanced Connectivity features [CHAR LIMIT=NONE] -->
<string name="enhanced_connectivity_summary">Enables the Enhanced Connectivity feature.</string>
<!-- Title of checkbox setting that enables the terminal app. [CHAR LIMIT=32] -->
<string name="enable_terminal_title">Local terminal</string>
<!-- Summary of checkbox setting that enables the terminal app. [CHAR LIMIT=64] -->