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

Commit a8e6d6fd authored by xinhe's avatar xinhe Committed by Android (Google) Code Review
Browse files

Merge "air plane mode only send to the owner through the quick setting" into lmp-mr1-dev

parents 5e4e2b58 98e25fc3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3246,7 +3246,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
            Settings.Global.putInt(cr, Settings.Global.AIRPLANE_MODE_ON, enable ? 1 : 0);
            Intent intent = new Intent(Intent.ACTION_AIRPLANE_MODE_CHANGED);
            intent.putExtra("state", enable);
            mContext.sendBroadcast(intent);
            mContext.sendBroadcastAsUser(intent, UserHandle.ALL);
        } finally {
            Binder.restoreCallingIdentity(ident);
        }