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

Commit a048d00c authored by Caitlin Shkuratov's avatar Caitlin Shkuratov
Browse files

[SB][Call] Only show call chip if we have promoted content for it.

Now that Ie063bca8508538dd4515d3f7bf2e284548085040 is submitted,
CallStyle.Ongoing notifications will be marked as promoted notifications
and will get all the same treatment (e.g. an AOD representation and
higher ranking). This also means that if a user bans a particular app
from showing promoted notifications, we should *also* not show the call
chip for that app, even if it did post a CallStyle.Ongoing notification.

Fixes: 402724981
Bug: 364653005
Flag: android.app.ui_rich_ongoing
Test: With ui_rich_ongoing flag on, post a CallStyle.Ongoing
notification then ban that app from showing Live Updates -> verify
status bar chip hides. Un-ban the app -> verify status bar chip shows
again
Test: atest CallChipViewModelTest

Change-Id: I0f7492b7461d8a5c2d065b16cfbca230ec364df0
parent f6a4d285
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