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

Commit 17b4f6f2 authored by Wale Ogunwale's avatar Wale Ogunwale Committed by Android Git Automerger
Browse files

am c240e748: am 6b098bfe: am 25257ca5: am af814340: Merge "Fixed bad merge...

am c240e748: am 6b098bfe: am 25257ca5: am af814340: Merge "Fixed bad merge conflict resolution" into mnc-dev

* commit 'c240e748':
  Fixed bad merge conflict resolution
parents 5c58890c c240e748
Loading
Loading
Loading
Loading
+6 −8
Original line number Diff line number Diff line
@@ -321,14 +321,12 @@ public final class BroadcastQueue {
    }

    public void skipCurrentReceiverLocked(ProcessRecord app) {
        BroadcastRecord r = app.curReceiver;
        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.
            logBroadcastReceiverDiscardLocked(r);
            finishReceiverLocked(r, r.resultCode, r.resultData,
                    r.resultExtras, r.resultAbort, false);
        BroadcastRecord r = null;
        if (mOrderedBroadcasts.size() > 0) {
            BroadcastRecord br = mOrderedBroadcasts.get(0);
            if (br.curApp == app) {
                r = br;
            }
        }
        if (r == null && mPendingBroadcast != null && mPendingBroadcast.curApp == app) {
            if (DEBUG_BROADCAST) Slog.v(TAG_BROADCAST,