Merge "Renamed methods for clatification" am: f8db4fe14c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2470984 Change-Id: I9dccbe76965d62b2f4510f16d81d4ee5914d21ce Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -2141,7 +2141,7 @@ public class SubscriptionManager {
|
|||||||
try {
|
try {
|
||||||
ISub iSub = TelephonyManager.getSubscriptionService();
|
ISub iSub = TelephonyManager.getSubscriptionService();
|
||||||
if (iSub != null) {
|
if (iSub != null) {
|
||||||
subId = iSub.getSubId(slotIndex);
|
subId = iSub.getSubIds(slotIndex);
|
||||||
}
|
}
|
||||||
} catch (RemoteException ex) {
|
} catch (RemoteException ex) {
|
||||||
// ignore it
|
// ignore it
|
||||||
|
|||||||
2
telephony/java/com/android/internal/telephony/ISub.aidl
Executable file → Normal file
2
telephony/java/com/android/internal/telephony/ISub.aidl
Executable file → Normal file
@@ -244,7 +244,7 @@ interface ISub {
|
|||||||
|
|
||||||
int getSlotIndex(int subId);
|
int getSlotIndex(int subId);
|
||||||
|
|
||||||
int[] getSubId(int slotIndex);
|
int[] getSubIds(int slotIndex);
|
||||||
|
|
||||||
int getDefaultSubId();
|
int getDefaultSubId();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user