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

Commit eb4f5288 authored by Christopher Tate's avatar Christopher Tate
Browse files

Must synchronize for ...Locked() code paths

Fixes: 130124446
Test: manual (reboot instrumentation)
Change-Id: I8651fe876f23bc0ea7e3aab57f5a61727985815e
parent 065e1521
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -107,10 +107,12 @@ public abstract class PreBootBroadcaster extends IIntentReceiver.Stub {
        EventLogTags.writeAmPreBoot(mUserId, componentName.getPackageName());

        mIntent.setComponent(componentName);
        synchronized (mService) {
            mService.broadcastIntentLocked(null, null, mIntent, null, this, 0, null, null, null,
                    AppOpsManager.OP_NONE, null, true, false, ActivityManagerService.MY_PID,
                    Process.SYSTEM_UID, Binder.getCallingUid(), Binder.getCallingPid(), mUserId);
        }
    }

    @Override
    public void performReceive(Intent intent, int resultCode, String data, Bundle extras,