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