Loading quickstep/src/com/android/quickstep/TaskAnimationManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -184,7 +184,7 @@ public class TaskAnimationManager implements RecentsAnimationCallbacks.RecentsAn mCtx.getIApplicationThread()); Bundle options = ActivityOptionsCompat.makeRemoteTransition(transition) .setTransientLaunch().toBundle(); mCtx.startActivity(intent, options); UI_HELPER_EXECUTOR.execute(() -> mCtx.startActivity(intent, options)); } else { UI_HELPER_EXECUTOR.execute(() -> ActivityManagerWrapper.getInstance() .startRecentsActivity(intent, eventTime, mCallbacks, null, null)); Loading quickstep/tests/src/com/android/quickstep/AbstractQuickStepTest.java +6 −2 Original line number Diff line number Diff line Loading @@ -20,6 +20,8 @@ import static com.android.launcher3.config.FeatureFlags.ENABLE_QUICKSTEP_LIVE_TI import static org.junit.Assert.assertTrue; import android.os.SystemProperties; import com.android.launcher3.Launcher; import com.android.launcher3.tapl.LauncherInstrumentation; import com.android.launcher3.tapl.LauncherInstrumentation.ContainerType; Loading @@ -33,6 +35,8 @@ import org.junit.rules.TestRule; * Base class for all instrumentation tests that deal with Quickstep. */ public abstract class AbstractQuickStepTest extends AbstractLauncherUiTest { static final boolean ENABLE_SHELL_TRANSITIONS = SystemProperties.getBoolean("persist.debug.shell_transit", false); @Override protected TestRule getRulesInsideActivityMonitor() { return RuleChain. Loading @@ -51,7 +55,7 @@ public abstract class AbstractQuickStepTest extends AbstractLauncherUiTest { @Override protected void checkLauncherState(Launcher launcher, ContainerType expectedContainerType, boolean isResumed, boolean isStarted) { if (!isInLiveTileMode(launcher, expectedContainerType)) { if (ENABLE_SHELL_TRANSITIONS || !isInLiveTileMode(launcher, expectedContainerType)) { super.checkLauncherState(launcher, expectedContainerType, isResumed, isStarted); } else { assertTrue("[Live Tile] hasBeenResumed() == isStarted(), hasBeenResumed(): " Loading @@ -62,7 +66,7 @@ public abstract class AbstractQuickStepTest extends AbstractLauncherUiTest { @Override protected void checkLauncherStateInOverview(Launcher launcher, ContainerType expectedContainerType, boolean isStarted, boolean isResumed) { if (!isInLiveTileMode(launcher, expectedContainerType)) { if (ENABLE_SHELL_TRANSITIONS || !isInLiveTileMode(launcher, expectedContainerType)) { super.checkLauncherStateInOverview(launcher, expectedContainerType, isStarted, isResumed); } else { Loading Loading
quickstep/src/com/android/quickstep/TaskAnimationManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -184,7 +184,7 @@ public class TaskAnimationManager implements RecentsAnimationCallbacks.RecentsAn mCtx.getIApplicationThread()); Bundle options = ActivityOptionsCompat.makeRemoteTransition(transition) .setTransientLaunch().toBundle(); mCtx.startActivity(intent, options); UI_HELPER_EXECUTOR.execute(() -> mCtx.startActivity(intent, options)); } else { UI_HELPER_EXECUTOR.execute(() -> ActivityManagerWrapper.getInstance() .startRecentsActivity(intent, eventTime, mCallbacks, null, null)); Loading
quickstep/tests/src/com/android/quickstep/AbstractQuickStepTest.java +6 −2 Original line number Diff line number Diff line Loading @@ -20,6 +20,8 @@ import static com.android.launcher3.config.FeatureFlags.ENABLE_QUICKSTEP_LIVE_TI import static org.junit.Assert.assertTrue; import android.os.SystemProperties; import com.android.launcher3.Launcher; import com.android.launcher3.tapl.LauncherInstrumentation; import com.android.launcher3.tapl.LauncherInstrumentation.ContainerType; Loading @@ -33,6 +35,8 @@ import org.junit.rules.TestRule; * Base class for all instrumentation tests that deal with Quickstep. */ public abstract class AbstractQuickStepTest extends AbstractLauncherUiTest { static final boolean ENABLE_SHELL_TRANSITIONS = SystemProperties.getBoolean("persist.debug.shell_transit", false); @Override protected TestRule getRulesInsideActivityMonitor() { return RuleChain. Loading @@ -51,7 +55,7 @@ public abstract class AbstractQuickStepTest extends AbstractLauncherUiTest { @Override protected void checkLauncherState(Launcher launcher, ContainerType expectedContainerType, boolean isResumed, boolean isStarted) { if (!isInLiveTileMode(launcher, expectedContainerType)) { if (ENABLE_SHELL_TRANSITIONS || !isInLiveTileMode(launcher, expectedContainerType)) { super.checkLauncherState(launcher, expectedContainerType, isResumed, isStarted); } else { assertTrue("[Live Tile] hasBeenResumed() == isStarted(), hasBeenResumed(): " Loading @@ -62,7 +66,7 @@ public abstract class AbstractQuickStepTest extends AbstractLauncherUiTest { @Override protected void checkLauncherStateInOverview(Launcher launcher, ContainerType expectedContainerType, boolean isStarted, boolean isResumed) { if (!isInLiveTileMode(launcher, expectedContainerType)) { if (ENABLE_SHELL_TRANSITIONS || !isInLiveTileMode(launcher, expectedContainerType)) { super.checkLauncherStateInOverview(launcher, expectedContainerType, isStarted, isResumed); } else { Loading