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

Commit cc798231 authored by Sudheer Shanka's avatar Sudheer Shanka Committed by Automerger Merge Worker
Browse files

Merge "Log the reason for skipping the broadcast delivery." into udc-dev am: 5f14b020

parents f8713936 5f14b020
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -691,10 +691,10 @@ class BroadcastQueueModernImpl extends BroadcastQueue {

            // If this receiver is going to be skipped, skip it now itself and don't even enqueue
            // it.
            final boolean wouldBeSkipped = (mSkipPolicy.shouldSkipMessage(r, receiver) != null);
            if (wouldBeSkipped) {
            final String skipReason = mSkipPolicy.shouldSkipMessage(r, receiver);
            if (skipReason != null) {
                setDeliveryState(null, null, r, i, receiver, BroadcastRecord.DELIVERY_SKIPPED,
                        "skipped by policy at enqueue");
                        "skipped by policy at enqueue: " + skipReason);
                continue;
            }