* commit '6465980cd88ea4ed0057bf23867fd3ab8e146dfa': Prevent ANR when broadcast receiver is killed
This commit is contained in:
@@ -296,7 +296,7 @@ public final class BroadcastQueue {
|
||||
public void skipCurrentReceiverLocked(ProcessRecord app) {
|
||||
boolean reschedule = false;
|
||||
BroadcastRecord r = app.curReceiver;
|
||||
if (r != null) {
|
||||
if (r != null && r.queue == this) {
|
||||
// The current broadcast is waiting for this app's receiver
|
||||
// to be finished. Looks like that's not going to happen, so
|
||||
// let the broadcast continue.
|
||||
|
||||
Reference in New Issue
Block a user