summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorDeepak Kundra <deepakkundra@gmail.com>2015-11-19 16:30:57 -0800
committerDeepak Kundra <deepakkundra@gmail.com>2015-11-20 14:15:58 -0800
commitd64e39111d7b62b1123b84592caae8a2351eb006 (patch)
treec4495fa620bb922e82f8d4196df90a1eaa04a52d /telephony
parent598d382e2e19cd836f1b948b4d18178d90b8eced (diff)
downloadframeworks_base-d64e39111d7b62b1123b84592caae8a2351eb006.zip
frameworks_base-d64e39111d7b62b1123b84592caae8a2351eb006.tar.gz
frameworks_base-d64e39111d7b62b1123b84592caae8a2351eb006.tar.bz2
quailstar: @hide public API added via CAF
Change-Id: I0c56c164edc3028de6da73e272982018ca932149
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/android/telephony/SubscriptionManager.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/SubscriptionManager.java b/telephony/java/android/telephony/SubscriptionManager.java
index 7e64627..34b9654 100644
--- a/telephony/java/android/telephony/SubscriptionManager.java
+++ b/telephony/java/android/telephony/SubscriptionManager.java
@@ -124,18 +124,26 @@ public class SubscriptionManager {
* The Network mode of SIM/sub.
* <P>Type: INTEGER (int)</P>
*/
+ /** @hide */
public static final String NETWORK_MODE = "network_mode";
+ /** @hide */
public static final int DEFAULT_NW_MODE = -1;
/**
* The activation state of SIM/sub.
* <P>Type: INTEGER (int)</P>
*/
+ /** @hide */
public static final String SUB_STATE = "sub_state";
+ /** @hide */
public static final int INACTIVE = 0;
+
+ /** @hide */
public static final int ACTIVE = 1;
+
+ /** @hide */
public static final int SUB_CONFIGURATION_IN_PROGRESS = 2;
/**
@@ -1135,6 +1143,7 @@ public class SubscriptionManager {
return phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount();
}
+ /** @hide */
public static void activateSubId(int subId) {
logd("activateSubId sub id = " + subId);
try {
@@ -1144,6 +1153,7 @@ public class SubscriptionManager {
}
}
+ /** @hide */
public static void deactivateSubId(int subId) {
logd("deactivateSubId sub id = " + subId);
try {
@@ -1153,6 +1163,7 @@ public class SubscriptionManager {
}
}
+ /** @hide */
public static int getSubState(int subId) {
logd("getSubState sub id = " + subId);
try {
@@ -1162,6 +1173,7 @@ public class SubscriptionManager {
}
}
+ /** @hide */
public static int setSubState(int subId, int subState) {
logd("setSubState sub id = " + subId + " state = " + subState);
try {