File changed.
Preview size limit exceeded, changes collapsed.
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The promoted section of the notification shade should generally match the status bar chips, where any status bar chip also has a notification in the shade and the chip ranking determines the shade ranking. This CL updates the promoted section of the shade to include screen recording notifications if we can find a good match for them. If we did find a screen recording notification, it'll be ranked at the top of the list. Fixes: 395151171 Bug: 367705002 Flag: android.app.ui_rich_ongoing Test: Start screen recording with an app that posts a notification but not a promoted one -> verify its notif appears at the top of the shade in its own section. Then also trigger a phone call -> verify the promoted notification section shows screen record notif first, then call notif Test: Start & end a SysUI screen record so you have a "Recording saved" notification. Then start another SysUI screen recording -> verify SysUI's screen recording notification appears in the promoted section Test: atest PromotedNotificationsInteractorTest ScreenRecordChipInteractorTest ColorizedFgsCoordinatorTest Change-Id: Ida64c77c8ebb335cb7116d64442aa383d9806b4c
File changed.
Preview size limit exceeded, changes collapsed.