Reset All Apps button alpha at the end of all set page -> home animation

Flag: EXEMPT bug fix
Fixes: 360338079
Test: swiped up from the all set page
Change-Id: Ide5eb3b8e81bfc67975932d0806e4ab17d60c078
This commit is contained in:
Schneider Victor-Tulias
2025-03-10 10:35:53 -04:00
committed by Schneider Victor-tulias
parent 16020c58a9
commit f7b75b2f8c

View File

@@ -99,6 +99,7 @@ import com.android.launcher3.LauncherPrefs;
import com.android.launcher3.LauncherSettings.Favorites;
import com.android.launcher3.R;
import com.android.launcher3.allapps.ActivityAllAppsContainerView;
import com.android.launcher3.anim.AnimatorListeners;
import com.android.launcher3.anim.AnimatorPlaybackController;
import com.android.launcher3.apppairs.AppPairIcon;
import com.android.launcher3.config.FeatureFlags;
@@ -1950,6 +1951,8 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
// Override the alpha updates in the icon alignment animation.
allAppsButton.setAlpha(0);
});
alphaOverride.addListener(AnimatorListeners.forSuccessCallback(
() -> allAppsButton.setAlpha(1f)));
fullAnimation.play(alphaOverride);
}