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

Commit 1e7279b5 authored by Phillip Berndt's avatar Phillip Berndt Committed by Gerrit Code Review
Browse files

BaseStatusBar: Inform StatusBarService if a notification is flagged spam

Without this change, if a notification that flashes the status LED is
dismissed as spam by the user, the status LED continues to blink while
the device is on standby (because the notification is not removed from
NotificationManagerService.mLights) until the next boot.

Change-Id: I30074adefa8f25cb21ae6550d523a91ebb943527
parent 6fc65dae
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -905,6 +905,7 @@ public abstract class BaseStatusBar extends SystemUI implements
                    values.put(PackageTable.PACKAGE_NAME, pkg);
                    mContext.getContentResolver().insert(SPAM_MESSAGE_URI, values);
                    removeNotification(sbn.getKey(), null);
                    onNotificationClear(sbn);
                }
            });