summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorRambo Wang <rambowang@google.com>2021-03-24 03:01:39 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-03-24 03:01:39 +0000
commitde0c5fa090a894a952c75ba4b4965005ce3f789d (patch)
treeb02838cd47726bb9054a8ccbd5e99323c1c9ea06 /core/java/android
parentc475dcfc45ebb369f1d14b331930a87419ed4eab (diff)
parent57456a7152d2f97983483c7ed2bfb8b44aebe441 (diff)
Public ServiceState#duplexMode in telephony provider am: 4481b5181e am: b336d92aa7 am: 57456a7152
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1638159 Change-Id: I2f53c2305075011904718ba5a81279875dc07235
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/provider/Telephony.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/java/android/provider/Telephony.java b/core/java/android/provider/Telephony.java
index 73208d35566e..165df0f54441 100644
--- a/core/java/android/provider/Telephony.java
+++ b/core/java/android/provider/Telephony.java
@@ -4581,6 +4581,17 @@ public final class Telephony {
* This is the same as {@link TelephonyManager#getDataNetworkType()}.
*/
public static final String DATA_NETWORK_TYPE = "data_network_type";
+
+ /**
+ * An integer value indicating the current duplex mode if the radio technology is LTE,
+ * LTE-CA or NR.
+ * <p>
+ * Valid values: {@link ServiceState#DUPLEX_MODE_UNKNOWN},
+ * {@link ServiceState#DUPLEX_MODE_FDD}, {@link ServiceState#DUPLEX_MODE_TDD}.
+ * <p>
+ * This is the same as {@link ServiceState#getDuplexMode()}.
+ */
+ public static final String DUPLEX_MODE = "duplex_mode";
}
/**