Merge "Removing notifications that were kept around longer on click" into pi-dev
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user