summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Alexander Roederer <aroederer@google.com> 2023-12-28 18:23:43 +0000
committer Alexander Roederer <aroederer@google.com> 2024-02-10 04:06:21 +0000
commit5e9f078d40ba6bc33a3a78e6b2de79f480d67892 (patch)
tree2f990d46525b14ae8101b5a64f636a51e9f0ec45 /libs/androidfw/FileStream.cpp
parent1f66b73624cc47c7540959fe7df83da9db07ff23 (diff)
Send update from NMS to SysUI on LifetimeExtension
When an app attempts to cancel a notification that has been lifetime extended with the FLAG_LIFETIME_EXTENDED_BY_DIRECT_REPLY, we need to notify SystemUI so that it can transition the notification from the "sending" state to the "sent" state. To do this, we send a post only to SystemUI, and add a new NotifCollectionListener to RemoteInputCoordinator to watch for onEntryUpdated. When the entry is updated, it rebuilds the notification for RemoteInputReply. Flag: ACONFIG android.app.lifetimeExtensionRefactor DEVELOPMENT Bug: 230652175 Test: atest RemoteInputCoordinatorTest ManagedServicesTest NotificationManagerServiceTest Change-Id: Ib81885b73026e779f4af6a1bdd4399c677f37e8d
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions