diff options
| author | 2024-10-30 13:42:56 +0000 | |
|---|---|---|
| committer | 2024-11-04 19:21:31 +0000 | |
| commit | 3ea12167a256dca20102b0a6f370d264635a2323 (patch) | |
| tree | 289e985320836746d650fab301dbd22c576c361b /api/coverage/tools | |
| parent | 73de83c7a65ff8bbbc442fba23b639609d367049 (diff) | |
[SB][Notifs] Add PromotedNotificationsProvider to auto-promote notifs.
PromotedNotificationsProvider is an interface with a single method,
`shouldPromote(entry: NotificationEntry): Boolean` that lets us
tell which notifications should be promoted. In AOSP, it just promotes
notifications with the FLAG_PROMOTED_ONGOING flag set.
Bug: 364653005
Flag: android.app.ui_rich_ongoing
Test: atest ActiveNotificationsInteractorTest
PromotedNotificationsProviderTest
Change-Id: I1913b65c79eb5a668a2f34e4ed2706595aed97f1
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions