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

Commit 52968e6a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't crash cleaning up not-yet-live state"

parents 028b73d3 200029a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -450,7 +450,7 @@ public final class BroadcastQueue {
        if (state == BroadcastRecord.IDLE) {
            Slog.w(TAG, "finishReceiver [" + mQueueName + "] called but state is IDLE");
        }
        if (r.allowBackgroundActivityStarts) {
        if (r.allowBackgroundActivityStarts && r.curApp != null) {
            r.curApp.removeAllowBackgroundActivityStartsToken(r);
         }
        // If we're abandoning this broadcast before any receivers were actually spun up,