Snap for 11666018 from 0e0a7ed6ba to 24Q3-release

Change-Id: I83e5d73b26253b9e06180f6bc371e65e1f2ee009
This commit is contained in:
Android Build Coastguard Worker
2024-04-03 23:20:47 +00:00
2 changed files with 4 additions and 1 deletions
@@ -598,7 +598,8 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
? stashTranslation : 0)
.setDuration(duration));
mAnimator.play(mTaskbarImeBgAlpha.animateToValue(
hasAnyFlag(FLAG_STASHED_IN_APP_IME) ? 0 : 1).setDuration(duration));
(hasAnyFlag(FLAG_STASHED_IN_APP_IME) && isStashed) ? 0 : 1).setDuration(
duration));
mAnimator.addListener(AnimatorListeners.forEndCallback(() -> {
mAnimator = null;
mIsStashed = isStashed;
@@ -37,6 +37,7 @@ import com.android.launcher3.ui.AbstractLauncherUiTest;
import com.android.launcher3.ui.PortraitLandscapeRunner.PortraitLandscape;
import com.android.launcher3.util.LauncherLayoutBuilder;
import com.android.launcher3.util.TestUtil;
import com.android.launcher3.util.rule.ScreenRecordRule;
import org.junit.After;
import org.junit.Before;
@@ -240,6 +241,7 @@ public class TaplTwoPanelWorkspaceTest extends AbstractLauncherUiTest {
});
}
@ScreenRecordRule.ScreenRecord // b/329935119
@Test
@PortraitLandscape
public void testEmptyPageDoesNotGetRemovedIfPagePairIsNotEmpty() {