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

Skip to content
Commit f3bc47b0 authored by Caitlin Shkuratov's avatar Caitlin Shkuratov
Browse files

[SB] Don't do anything special when a HUN comes in.

Now that notifications show the app icon, we don't need the status bar
to show the app name when a HUN comes in for anti-spoofing -- the HUN
itself will show the app icon which protects us against spoofing. This
CL removes all of status bar's custom HUN behavior.

Bug: 385740230
Flag: com.android.systemui.status_bar_no_hun_behavior

Test: atest HomeStatusBarViewModelTest HeadsUpAppearanceControllerTest
CollapsedStatusBarFragmentTest

Test: with StatusBarRootModernization flag off, verify status bar
doesn't change when HUN appears
Test: with StatusBarRootModernization flag on, verify status bar doesn't
change when HUN appears

Test: receive HUN while on lockscreen with bypass enabled -> verify
keyguard status bar doesn't show HUN icon&name

Test: with StatusBarNotificationChips flag on, post promoted
notification then tap chip -> verify chip hides its own text
Test: with StatusBarNotificationChips flag on, verify chips stay visible
when HUN comes in

Change-Id: Ib0f3709adde0b4b0e7c68425ecde0cd59431f445
parent 9356d6f4
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