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

Commit 32e756a4 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix batterySendBroadcast not synchronized issue."

parents 56ddac7f bce711ea
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -2891,10 +2891,12 @@ public final class ActivityManagerService extends ActivityManagerNative
    @Override
    public void batterySendBroadcast(Intent intent) {
        synchronized (this) {
            broadcastIntentLocked(null, null, intent, null, null, 0, null, null, null,
                    AppOpsManager.OP_NONE, null, false, false,
                    -1, Process.SYSTEM_UID, UserHandle.USER_ALL);
        }
    }
    /**
     * Initialize the application bind args. These are passed to each