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:
@@ -300,7 +300,7 @@ public class SimSettings extends RestrictedSettingsFragment implements Indexable
|
||||
private String getPhoneNumber(SubscriptionInfo info) {
|
||||
final TelephonyManager tm =
|
||||
(TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE);
|
||||
return tm.getLine1NumberForSubscriber(info.getSubscriptionId());
|
||||
return tm.getLine1Number(info.getSubscriptionId());
|
||||
}
|
||||
|
||||
private void log(String s) {
|
||||
|
Reference in New Issue
Block a user