summaryrefslogtreecommitdiffstats
path: root/telephony/java/android/telephony/SubscriptionManager.java
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2014-09-03 12:22:54 -0700
committerWink Saville <wink@google.com>2014-09-03 12:22:54 -0700
commit8a38a203a9754be85e12484adff69f7577fa4fad (patch)
tree2e0f23ccae55afc41606f4f068810b5c6b05e19b /telephony/java/android/telephony/SubscriptionManager.java
parent49367a367c97991d58d723f602afc4b402e62b00 (diff)
downloadframeworks_base-8a38a203a9754be85e12484adff69f7577fa4fad.zip
frameworks_base-8a38a203a9754be85e12484adff69f7577fa4fad.tar.gz
frameworks_base-8a38a203a9754be85e12484adff69f7577fa4fad.tar.bz2
Rename getActivatedXxx to getActiveXxx
Change-Id: Iba6d2805a69d3385c93b7ed3c6267b5b8b252a28
Diffstat (limited to 'telephony/java/android/telephony/SubscriptionManager.java')
-rw-r--r--telephony/java/android/telephony/SubscriptionManager.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/telephony/java/android/telephony/SubscriptionManager.java b/telephony/java/android/telephony/SubscriptionManager.java
index 0d61f57..f83f164 100644
--- a/telephony/java/android/telephony/SubscriptionManager.java
+++ b/telephony/java/android/telephony/SubscriptionManager.java
@@ -316,16 +316,16 @@ public class SubscriptionManager implements BaseColumns {
}
/**
- * Get the count of activated SUB(s)
- * @return activated SIM count
+ * Get the count of active SUB(s)
+ * @return active SIM count
*/
- public static int getActivatedSubInfoCount() {
+ public static int getActiveSubInfoCount() {
int result = 0;
try {
ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub"));
if (iSub != null) {
- result = iSub.getActivatedSubInfoCount();
+ result = iSub.getActiveSubInfoCount();
}
} catch (RemoteException ex) {
// ignore it
@@ -813,16 +813,16 @@ public class SubscriptionManager implements BaseColumns {
}
/**
- * @return the list of subId's that are activated,
+ * @return the list of subId's that are active,
* is never null but the length maybe 0.
*/
- public static long[] getActivatedSubIdList() {
+ public static long[] getActiveSubIdList() {
long[] subId = null;
try {
ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub"));
if (iSub != null) {
- subId = iSub.getActivatedSubIdList();
+ subId = iSub.getActiveSubIdList();
}
} catch (RemoteException ex) {
// ignore it