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

Commit 2a29d773 authored by Selim Cinek's avatar Selim Cinek Committed by android-build-merger
Browse files

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

am: 88bac47c

Change-Id: I4517ac7febce28f240aad25a420175c4191184b3
parents 9295f728 88bac47c
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);
                }