summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Julia Reynolds <juliacr@google.com> 2020-09-14 18:12:58 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2020-09-14 18:12:58 +0000
commit8092c9b37dc1390d48f9b17f3ef1ebb6b63791db (patch)
tree583da8ac178eb2f1d5e9e8597ae683bf6517666f
parent05ef028469033f434a0f1eb5029a9b8a641fd239 (diff)
parente214fb4f25c775b16f15fbcc3ca34713e033b5ca (diff)
Merge "Add log to NoMan for canceled cancels" into rvc-qpr-dev
-rwxr-xr-xservices/core/java/com/android/server/notification/NotificationManagerService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/notification/NotificationManagerService.java b/services/core/java/com/android/server/notification/NotificationManagerService.java
index e42dd359dad1..5d0981da1906 100755
--- a/services/core/java/com/android/server/notification/NotificationManagerService.java
+++ b/services/core/java/com/android/server/notification/NotificationManagerService.java
@@ -6245,6 +6245,8 @@ public class NotificationManagerService extends SystemService {
for (NotificationRecord r : enqueued) {
if (r.mUpdateTimeMs > mWhen) {
// 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;
}
}