Merge "Add a missing NULL check for postActivityStartTokenRemoval()"
This commit is contained in:
@@ -809,7 +809,8 @@ public final class BroadcastQueue {
|
|||||||
r.resultExtras, r.ordered, r.initialSticky, r.userId);
|
r.resultExtras, r.ordered, r.initialSticky, r.userId);
|
||||||
// parallel broadcasts are fire-and-forget, not bookended by a call to
|
// parallel broadcasts are fire-and-forget, not bookended by a call to
|
||||||
// finishReceiverLocked(), so we manage their activity-start token here
|
// 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);
|
postActivityStartTokenRemoval(filter.receiverList.app, r);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user