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

Skip to content
Commit 5e9f078d authored by Alexander Roederer's avatar Alexander Roederer
Browse files

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
parent 1f66b736
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment