diff options
| author | 2025-03-14 18:28:35 +0000 | |
|---|---|---|
| committer | 2025-03-14 18:29:20 +0000 | |
| commit | 881fb5b092f4a971c109a8e7de6d425b708ffcb4 (patch) | |
| tree | f2efacb1e5d41ee8eeafaecf769a02211943d31d /libs/androidfw/AssetsProvider.cpp | |
| parent | 55c43cbe7e7273ee72965f53d7ad132928c7c7f1 (diff) | |
Include screen recording notifs in promoted section.
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
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions