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

Commit 2c60e17a authored by Steve Kondik's avatar Steve Kondik
Browse files

telephony: Fix complation issue

Change-Id: Ic70679a818b777041f94817c37b86dc077a7876c
parent ecabeff4
Loading
Loading
Loading
Loading
+6 −10
Original line number Diff line number Diff line
@@ -3814,7 +3814,6 @@ public class TelephonyManager {
    /** @hide */
    @SystemApi
    public void setDataEnabled(boolean enable) {
        try {
        AppOpsManager appOps = (AppOpsManager)mContext.getSystemService(Context.APP_OPS_SERVICE);
        if (enable) {
            if (appOps.noteOp(AppOpsManager.OP_DATA_CONNECT_CHANGE) != AppOpsManager.MODE_ALLOWED) {
@@ -3823,9 +3822,6 @@ public class TelephonyManager {
            }
        }
        setDataEnabled(SubscriptionManager.getDefaultDataSubId(), enable);
        } catch (RemoteException e) {
            Log.e(TAG, "Error calling setDataEnabled", e);
        }
    }

    /** @hide */