From a54bf6583380cf328b9858d942b4c387c6163f0f Mon Sep 17 00:00:00 2001 From: Wink Saville Date: Thu, 11 Dec 2014 13:37:50 -0800 Subject: Change tests against INVALID_SUBSCRIPTION_ID to use isValidSubscriptionId. Rename isValidSubId to isValidSubscriptionId. Bug: 18668873 Change-Id: Ie709a62bbb74e0a767daeb9e3fb3aecd4c45df44 --- services/core/java/com/android/server/TelephonyRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services') diff --git a/services/core/java/com/android/server/TelephonyRegistry.java b/services/core/java/com/android/server/TelephonyRegistry.java index 34da901..776f836 100644 --- a/services/core/java/com/android/server/TelephonyRegistry.java +++ b/services/core/java/com/android/server/TelephonyRegistry.java @@ -480,7 +480,7 @@ class TelephonyRegistry extends ITelephonyRegistry.Stub { r.callerUid = callerUid; // Legacy applications pass SubscriptionManager.DEFAULT_SUB_ID, // force all illegal subId to SubscriptionManager.DEFAULT_SUB_ID - if (!SubscriptionManager.isValidSubId(subId)) { + if (!SubscriptionManager.isValidSubscriptionId(subId)) { r.subId = SubscriptionManager.DEFAULT_SUBSCRIPTION_ID; } else {//APP specify subID r.subId = subId; -- cgit v1.1