Fix shortcuts flash in wallpaper picker preview
When the lock screen preview is initialized in the wallpaper picker,
empty shortcuts flash in for a moment before showing correctly, and is
especially noticeable if only zero or one shortcuts are set. This is
occuring when the KeyguardBottomAreaRefactor flag is enabled, because
the start and end shortcuts buttons, which are supposed to start out
invisible, is set to visible when the blueprint constraint set is
applied. Setting the visibility mode to ignore for both the buttons
resolves the issue and allows the buttons to remain invisible on
initialization.
Flag: ACONFIG com.android.systemui.keyguard_bottom_area_refactor STAGING
Bug: 319479474
Test: manually verified that when flag is turned on, flash no longer
appears in the wallpaper picker preview, also verified that shortcuts
still appear correctly on lock screen.
Change-Id: I97d1660bb8bd097f10b41f8fdb38309a7209fb97
1 file changed