[SB] Don't show home status bar on lockscreen, even for HUNs.
Previously, we needed to show the home status bar on lockscreen when a HUN came in so that the HUN's app name would show. But we don't need to do that when StatusBarNoHunBehavior is enabled. Fixes: 406419894 Bug: 385740230 Flag: com.android.systemui.status_bar_no_hun_behavior Test: no_hun_behavior enabled & root_modernization enabled: Have face unlock with bypass enabled. While on lockscreen *after face unlock fails*, receive a HUN -> verify home status bar never appears, carrier text is always shown in the left part of the status bar while the HUN is shown Test: no_hun_behavior enabled & root_modernization *disabled* -> verify same behavior Test: no_hun_behavior *disabled* & root_modernization disabled: Have face unlock with bypass enabled. While on lockscreen *after face unlock fails*, receive a HUN -> verify carrier text in status bar hides and HUN app name + app icon shows Test: atest HomeStatusBarViewModelImplTest Change-Id: Iadff4590ab811085cc3e59a41e24a5d33d6b7424
Loading
Please register or sign in to comment