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

Commit f2c889d2 authored by Jing Ji's avatar Jing Ji Committed by android-build-merger
Browse files

Merge "Fix a racing condition in ProcessRecord" am: 9027191b

am: 6da8968f

Change-Id: Ia979f59a48096e730d703831701b46fffc74f1d8
parents 57aaf1d4 6da8968f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -446,7 +446,9 @@ public final class BroadcastQueue {
        mHandler.removeCallbacksAndMessages(msgToken);
        // ...then schedule the removal of the token after the extended timeout
        mHandler.postAtTime(() -> {
            synchronized (mService) {
                app.removeAllowBackgroundActivityStartsToken(r);
            }
        }, msgToken, (r.receiverTime + mConstants.ALLOW_BG_ACTIVITY_START_TIMEOUT));
    }