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

Commit 88bac47c authored by Selim Cinek's avatar Selim Cinek Committed by Android (Google) Code Review
Browse files

Merge "Removing notifications that were kept around longer on click" into pi-dev

parents 25e38275 6241243d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -5160,7 +5160,9 @@ public class StatusBar extends SystemUI implements DemoMode,
                if (parentToCancelFinal != null) {
                    removeNotification(parentToCancelFinal);
                }
                if (shouldAutoCancel(sbn)) {
                if (shouldAutoCancel(sbn)
                        || mRemoteInputManager.getKeysKeptForRemoteInput().contains(
                                notificationKey)) {
                    // Automatically remove all notifications that we may have kept around longer
                    removeNotification(sbn);
                }