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

Commit 4861bb78 authored by Caitlin Shkuratov's avatar Caitlin Shkuratov
Browse files

[SB][Notif] Up-rank notification chips whose app was recently opened.

If a user opens an app that has a promoted notification, that's pretty
good signal that that notification is the most important one, so move it
to the front of the list of chips.

Fixes: 395154758
Bug: 364653005
Flag: com.android.systemui.status_bar_notification_chips

Test: With 2 notification chips, open app for second chip then close it
-> verify that app's chip is now ranked first
Test: Have 2 notification chips and open each of their apps. Then have a
3rd notification chip -> verify the 3rd notification chip is ranked
first

Test: atest ActivityManagerRepositoryTest
SingleNotificationChipInteractorTest
StatusBarNotificationChipsInteractorTest

Change-Id: I2dd809e5a068bf38deec69d3150e48116f401aa1
parent 462c652d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment