Merge "Add log to NoMan for canceled cancels"

This commit is contained in:
TreeHugger Robot
2020-09-02 22:24:37 +00:00
committed by Android (Google) Code Review

View File

@@ -6259,6 +6259,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;
}
}