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

Commit e0d5d7f8 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

am: 2a29d773

Change-Id: I1c268d615b72f46006c47f8d94c5ba1cd90e1433
parents 5a2e0089 2a29d773
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);
                }