[SB][Notifs] Only show 1 notif chip per-package, regardless of UID
We never want the status bar notification chips to show the same app icon in two different chips, so limit the notification chips to 1 per package, regardless of UID. This does mean that if you have a promoted notification for both your personal profile and your work profile, only one of those will show up as a chip (whichever app was more recently opened). Fixes: 397442330 Bug: 364653005 Flag: android.app.ui_rich_ongoing Test: Post 2 colorized notifications from test app -> verify status bar only shows 1 chip, but shade still shows both notifications. Verify status bar chip is for the first notif in the shade Test: Post 2 promoted notifs from different apps -> verify 2 chips appear Test: Post promoted notif from same app on two different profiles -> verify *only one chip appears* Test: atest NotifChipsViewModelTest Change-Id: Ifebe3e69ff058de1cbbc93c197832d7e0e4a23f6
Loading
Please register or sign in to comment