Merge "OP_READ_PHONE_STATE AppOp check for getMergedSubscriberIds" into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7e603d6994
@@ -2143,7 +2143,7 @@ public class TelephonyManager {
|
|||||||
try {
|
try {
|
||||||
ITelephony telephony = getITelephony();
|
ITelephony telephony = getITelephony();
|
||||||
if (telephony != null)
|
if (telephony != null)
|
||||||
return telephony.getMergedSubscriberIds();
|
return telephony.getMergedSubscriberIds(mContext.getOpPackageName());
|
||||||
} catch (RemoteException ex) {
|
} catch (RemoteException ex) {
|
||||||
} catch (NullPointerException ex) {
|
} catch (NullPointerException ex) {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -795,7 +795,7 @@ interface ITelephony {
|
|||||||
*/
|
*/
|
||||||
String getLine1AlphaTagForDisplay(int subId, String callingPackage);
|
String getLine1AlphaTagForDisplay(int subId, String callingPackage);
|
||||||
|
|
||||||
String[] getMergedSubscriberIds();
|
String[] getMergedSubscriberIds(String callingPackage);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Override the operator branding for the current ICCID.
|
* Override the operator branding for the current ICCID.
|
||||||
|
|||||||
Reference in New Issue
Block a user