Loading telephony/java/android/telephony/TelephonyManager.java +7 −5 Original line number Diff line number Diff line Loading @@ -3836,10 +3836,12 @@ public class TelephonyManager { } /** * Return the set of subscriber IDs that should be considered as "merged * together" for data usage purposes. This is commonly {@code null} to * indicate no merging is required. Any returned subscribers are sorted in a * deterministic order. * Return the set of subscriber IDs that should be considered "merged together" for data usage * purposes. This is commonly {@code null} to indicate no merging is required. Any returned * subscribers are sorted in a deterministic order. * <p> * The returned set of subscriber IDs will include the subscriber ID corresponding to this * TelephonyManager's subId. * * @hide */ Loading @@ -3848,7 +3850,7 @@ public class TelephonyManager { try { ITelephony telephony = getITelephony(); if (telephony != null) return telephony.getMergedSubscriberIds(getOpPackageName()); return telephony.getMergedSubscriberIds(getSubId(), getOpPackageName()); } catch (RemoteException ex) { } catch (NullPointerException ex) { } Loading telephony/java/com/android/internal/telephony/ITelephony.aidl +11 −1 Original line number Diff line number Diff line Loading @@ -1051,7 +1051,17 @@ interface ITelephony { */ String getLine1AlphaTagForDisplay(int subId, String callingPackage); String[] getMergedSubscriberIds(String callingPackage); /** * Return the set of subscriber IDs that should be considered "merged together" for data usage * purposes. This is commonly {@code null} to indicate no merging is required. Any returned * subscribers are sorted in a deterministic order. * <p> * The returned set of subscriber IDs will include the subscriber ID corresponding to this * TelephonyManager's subId. * * @hide */ String[] getMergedSubscriberIds(int subId, String callingPackage); /** * Override the operator branding for the current ICCID. Loading Loading
telephony/java/android/telephony/TelephonyManager.java +7 −5 Original line number Diff line number Diff line Loading @@ -3836,10 +3836,12 @@ public class TelephonyManager { } /** * Return the set of subscriber IDs that should be considered as "merged * together" for data usage purposes. This is commonly {@code null} to * indicate no merging is required. Any returned subscribers are sorted in a * deterministic order. * Return the set of subscriber IDs that should be considered "merged together" for data usage * purposes. This is commonly {@code null} to indicate no merging is required. Any returned * subscribers are sorted in a deterministic order. * <p> * The returned set of subscriber IDs will include the subscriber ID corresponding to this * TelephonyManager's subId. * * @hide */ Loading @@ -3848,7 +3850,7 @@ public class TelephonyManager { try { ITelephony telephony = getITelephony(); if (telephony != null) return telephony.getMergedSubscriberIds(getOpPackageName()); return telephony.getMergedSubscriberIds(getSubId(), getOpPackageName()); } catch (RemoteException ex) { } catch (NullPointerException ex) { } Loading
telephony/java/com/android/internal/telephony/ITelephony.aidl +11 −1 Original line number Diff line number Diff line Loading @@ -1051,7 +1051,17 @@ interface ITelephony { */ String getLine1AlphaTagForDisplay(int subId, String callingPackage); String[] getMergedSubscriberIds(String callingPackage); /** * Return the set of subscriber IDs that should be considered "merged together" for data usage * purposes. This is commonly {@code null} to indicate no merging is required. Any returned * subscribers are sorted in a deterministic order. * <p> * The returned set of subscriber IDs will include the subscriber ID corresponding to this * TelephonyManager's subId. * * @hide */ String[] getMergedSubscriberIds(int subId, String callingPackage); /** * Override the operator branding for the current ICCID. Loading