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

Commit af814340 authored by Wale Ogunwale's avatar Wale Ogunwale Committed by Android (Google) Code Review
Browse files

Merge "Fixed bad merge conflict resolution" into mnc-dev

parents 9c98b859 24b243d5
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,