Merge "Add a missing NULL check for postActivityStartTokenRemoval()" am: 5fea1d9a01 am: 1c691ff753
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1593831 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ib5ce8805a0d414a60958a83978dca5ce2598dd64
This commit is contained in:
@@ -812,7 +812,8 @@ public final class BroadcastQueue {
|
||||
r.resultExtras, r.ordered, r.initialSticky, r.userId);
|
||||
// parallel broadcasts are fire-and-forget, not bookended by a call to
|
||||
// finishReceiverLocked(), so we manage their activity-start token here
|
||||
if (r.allowBackgroundActivityStarts && !r.ordered) {
|
||||
if (filter.receiverList.app != null
|
||||
&& r.allowBackgroundActivityStarts && !r.ordered) {
|
||||
postActivityStartTokenRemoval(filter.receiverList.app, r);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user