Merge "Add log to NoMan for canceled cancels"
This commit is contained in:
committed by
Android (Google) Code Review
commit
70d3b4ba9a
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user