Unhiding MSIM APIs.
1. Unhide MSIM APIs in TelephonyManager that already have non-MSIM equivalent APIs public. 2. Make MSIM API naming consistent (overloaded, no suffix). 3. Unhide APIs in SubscriptionManager that are necessary for MSIM. Bug: 26772894 Change-Id: I69471769ece56dd2d505f087d2ed3b585eb4b2d0
This commit is contained in:
@@ -357,7 +357,7 @@ public class SimStatus extends InstrumentedPreferenceActivity {
|
||||
}
|
||||
}
|
||||
|
||||
String rawNumber = mTelephonyManager.getLine1NumberForSubscriber(mSir.getSubscriptionId());
|
||||
String rawNumber = mTelephonyManager.getLine1Number(mSir.getSubscriptionId());
|
||||
String formattedNumber = null;
|
||||
if (!TextUtils.isEmpty(rawNumber)) {
|
||||
formattedNumber = PhoneNumberUtils.formatNumber(rawNumber);
|
||||
|
Reference in New Issue
Block a user