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

Commit 4fdb1d16 authored by Tony Mak's avatar Tony Mak Committed by android-build-merger
Browse files

Merge "Send ACTION_POWER_SAVE_MODE_CHANGED to all user" into oc-dev

am: 035aaddb

Change-Id: I5b9b7b1a779b46aca047eb589d58a34c456fdf2c
parents f1c14812 035aaddb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -991,7 +991,7 @@ public final class PowerManagerService extends SystemService
                    }
                    intent = new Intent(PowerManager.ACTION_POWER_SAVE_MODE_CHANGED);
                    intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY);
                    mContext.sendBroadcast(intent);
                    mContext.sendBroadcastAsUser(intent, UserHandle.ALL);
                    // Send internal version that requires signature permission.
                    intent = new Intent(PowerManager.ACTION_POWER_SAVE_MODE_CHANGED_INTERNAL);
                    intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY);