Loading telephony/java/android/telephony/TelephonyManager.java +11 −0 Original line number Diff line number Diff line Loading @@ -3434,6 +3434,17 @@ public class TelephonyManager { return false; } /** @hide */ @SystemApi public boolean isDataPossibleForSubscription(long subId, String apnType) { try { return getITelephony().isDataPossibleForSubscription(subId, apnType); } catch (RemoteException e) { Log.e(TAG, "Error calling ITelephony#isDataPossibleForSubscription", e); } return false; } /** @hide */ @SystemApi public boolean needsOtaServiceProvisioning() { Loading telephony/java/com/android/internal/telephony/ITelephony.aidl +5 −0 Original line number Diff line number Diff line Loading @@ -322,6 +322,11 @@ interface ITelephony { */ boolean isDataConnectivityPossible(); /** * Report whether mms data connectivity is possible. */ boolean isDataPossibleForSubscription(long subId, String apnType); Bundle getCellLocation(); /** Loading Loading
telephony/java/android/telephony/TelephonyManager.java +11 −0 Original line number Diff line number Diff line Loading @@ -3434,6 +3434,17 @@ public class TelephonyManager { return false; } /** @hide */ @SystemApi public boolean isDataPossibleForSubscription(long subId, String apnType) { try { return getITelephony().isDataPossibleForSubscription(subId, apnType); } catch (RemoteException e) { Log.e(TAG, "Error calling ITelephony#isDataPossibleForSubscription", e); } return false; } /** @hide */ @SystemApi public boolean needsOtaServiceProvisioning() { Loading
telephony/java/com/android/internal/telephony/ITelephony.aidl +5 −0 Original line number Diff line number Diff line Loading @@ -322,6 +322,11 @@ interface ITelephony { */ boolean isDataConnectivityPossible(); /** * Report whether mms data connectivity is possible. */ boolean isDataPossibleForSubscription(long subId, String apnType); Bundle getCellLocation(); /** Loading