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: Ibebab7379ea79c8e4812bbd190342827048e30e2
This commit is contained in:
@@ -1611,7 +1611,7 @@ public class ConnectivityManager {
|
||||
if (b != null) {
|
||||
try {
|
||||
ITelephony it = ITelephony.Stub.asInterface(b);
|
||||
int subId = SubscriptionManager.getDefaultDataSubId();
|
||||
int subId = SubscriptionManager.getDefaultDataSubscriptionId();
|
||||
Log.d("ConnectivityManager", "getMobileDataEnabled()+ subId=" + subId);
|
||||
boolean retVal = it.getDataEnabled(subId);
|
||||
Log.d("ConnectivityManager", "getMobileDataEnabled()- subId=" + subId
|
||||
|
||||
Reference in New Issue
Block a user