commit | 987efd6ea4eb857dee1f00f0e3a4bcfe976799ef | [log] [tgz] |
---|---|---|
author | Brandon Dayauon <brdayauon@google.com> | Tue May 28 09:09:53 2024 -0700 |
committer | Brandon Dayauon <brdayauon@google.com> | Wed May 29 22:41:57 2024 -0700 |
tree | 7a626abafed641f02131611616c446bd0f12c501 | |
parent | a2bbe1c5c81919a5d9ba66dcc68009132207674f [diff] |
Fix private space icons disappearing from search state. This is because during onBind() that the icon alpha should be set to 0 ONLY in the case when animation + scroll is happening. The repro cuj is this: user has private space unlocked -> goes to toast and clicks qs tile -> onBind() happens and animationScrolling = true -> icon alpha is now 0. Instead we should check getAnimate() && scrolling() && isStateTransitioning() bug: 340836439 Test: manually - before: https://drive.google.com/file/d/1WLZRPsz-hm1d3fVRNGXs_Ps_AcdJhkPs/view?usp=sharing after: https://drive.google.com/file/d/1LidDKhx2ijOXmX_tcPAmng5P56WNPyyx/view?usp=sharing Flag: ACONFIG com.android.launcher3.Flags.private_space_animation NEXTFOOD Change-Id: I10b8ee5d8449acdb3d2c64e0e311f7dde89a464a