[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
Loading
Please register or sign in to comment