Merge "Add a missing NULL check for postActivityStartTokenRemoval()" am: 5fea1d9a01 am: 1c691ff753 am: a4e94c8b2c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1593831 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Iac0f9a52b6a36657845b289df3a254b870d287cc
This commit is contained in:
@@ -825,7 +825,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