summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlake Kragten <kragtenb@google.com>2020-02-21 22:14:23 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-02-21 22:14:23 +0000
commit75a0184bb70b35b15ecb9aceead20637635c92f6 (patch)
tree0ad4fcfa5675a3efe8d93a4e96490d021eb5610c
parent0526d43236ee8686c09240e97cc83c19975afada (diff)
parent28e7b5ae61b9b928ac2df67f51a17e8bd85ec868 (diff)
Merge "Enhanced Connectivity Dev Toggle"
-rw-r--r--core/java/android/provider/Settings.java11
-rw-r--r--packages/SettingsLib/res/values/strings.xml6
2 files changed, 17 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index b89827140da5..f2d415a2c4a1 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -10615,6 +10615,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
* size and density of simulated secondary display devices.
diff --git a/packages/SettingsLib/res/values/strings.xml b/packages/SettingsLib/res/values/strings.xml
index d25e3e2ade01..6d11461d6cfa 100644
--- a/packages/SettingsLib/res/values/strings.xml
+++ b/packages/SettingsLib/res/values/strings.xml
@@ -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] -->