Fix "Mark as Read" bug.
When a notification has had its lifetime extended by the NotificationRemoteInputManager$RemoteInputHistoryExtender, we will now terminate that lifetime extension 200ms after any other action has successfully started a PendingIntent. This gives apps 200ms to update the notification without the user seeing anything, and should otherwise prevent the 'dead notification' problem. Bug: 183025105 Test: Use inline notification reply or smart replies for an app which cancels the notification on reply. Then tap "mark as read" or "done" on the notification. Notice that the notification now disappears. Change-Id: I627aaaacf4caee98cc6e282da8f2d0f2bd42bffb
Loading
Please register or sign in to comment