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

Commit e489ed47 authored by xinhe's avatar xinhe Committed by Android Git Automerger
Browse files

am 5f1188c3: am b596bffd: am a8e6d6fd: Merge "air plane mode only send to the...

am 5f1188c3: am b596bffd: am a8e6d6fd: Merge "air plane mode only send to the owner through the quick setting" into lmp-mr1-dev

* commit '5f1188c3':
  air plane mode only send to the owner through the quick setting
parents 38c30b4b 5f1188c3
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);
        }