Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7f2aab9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Telephony: Add new api isMmsDataConnectivityPossible."

parents e7998d18 f060a2a6
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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() {
+5 −0
Original line number Diff line number Diff line
@@ -322,6 +322,11 @@ interface ITelephony {
     */
    boolean isDataConnectivityPossible();

    /**
     * Report whether mms data connectivity is possible.
     */
    boolean isDataPossibleForSubscription(long subId, String apnType);

    Bundle getCellLocation();

    /**