summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeff DeCew <jeffdq@google.com>2021-04-30 15:26:08 -0400
committerJeff DeCew <jeffdq@google.com>2021-04-30 19:33:20 -0400
commitcf5499bd7d4ccd6c154516c8f31cfacf628a6006 (patch)
treeeb3feba82a6bcf658bebca01e6dfad5fc2e0f309 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent2c389bf6ef399733d3e4ae5cea397a66462ef8da (diff)
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions