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

Commit 6bd43a03 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

am: 4fdb1d16

Change-Id: I4cb19b60c6ae909d1802cb0f192cc650cc1fa4da
parents 2cd8d94e 4fdb1d16
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);