summaryrefslogtreecommitdiff
path: root/telephony/java/com
diff options
context:
space:
mode:
authorSarah Chin <sarahchin@google.com>2020-10-28 13:05:29 -0700
committerSarah Chin <sarahchin@google.com>2020-11-19 14:37:35 -0800
commitc315bf8c7db4465a601db7d8777fbc7467e8ffa6 (patch)
treefee98bf0043f50c907225e5bd10a2fab1895af63 /telephony/java/com
parent0b2d583b45ee80cb4a207276dee0965ef9d98be8 (diff)
Expose get/setCdmaRoamingMode and get/setCdmaSubscriptionMode as system API
Test: atest TelephonyManagerTest Fix: 171884158 Fix: 171883908 Change-Id: I5fe64d4bfb463af40b6e0ccfad1515266e40f7f6 Merged-In: I5fe64d4bfb463af40b6e0ccfad1515266e40f7f6
Diffstat (limited to 'telephony/java/com')
-rw-r--r--telephony/java/com/android/internal/telephony/ITelephony.aidl8
1 files changed, 8 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl
index d16cb16a290c..4895fffa5849 100644
--- a/telephony/java/com/android/internal/telephony/ITelephony.aidl
+++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl
@@ -1799,6 +1799,14 @@ interface ITelephony {
boolean setCdmaRoamingMode(int subId, int mode);
/**
+ * Gets the subscription mode for the CDMA phone with the subscription id {@code subId}.
+ *
+ * @param the subscription id.
+ * @return the subscription mode for CDMA phone.
+ */
+ int getCdmaSubscriptionMode(int subId);
+
+ /**
* Sets the subscription mode for CDMA phone with the subscription {@code subId} to the given
* subscription mode {@code mode}.
*