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

Commit 8092c9b3 authored by Julia Reynolds's avatar Julia Reynolds Committed by Android (Google) Code Review
Browse files

Merge "Add log to NoMan for canceled cancels" into rvc-qpr-dev

parents 05ef0284 e214fb4f
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -6245,6 +6245,8 @@ public class NotificationManagerService extends SystemService {
                    for (NotificationRecord r : enqueued) {
                    for (NotificationRecord r : enqueued) {
                        if (r.mUpdateTimeMs > mWhen) {
                        if (r.mUpdateTimeMs > mWhen) {
                            // At least one enqueue was posted after the cancel, so we're invalid
                            // At least one enqueue was posted after the cancel, so we're invalid
                            Slog.i(TAG, "notification cancel ignored due to newer enqueued entry"
                                    + "key=" + r.getSbn().getKey());
                            return;
                            return;
                        }
                        }
                    }
                    }