air plane mode only send to the owner through the quick setting
It should send to all the uesers as it behaves in setting Bug:18353278 Change-Id: Ib46a97e30bfba73dd78fab0c8139d6ccb7ad210f
This commit is contained in:
@@ -3247,7 +3247,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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user