Merge "Fixes BinderTests when enable shell transition."

This commit is contained in:
Wei Sheng Shih authored and Android (Google) Code Review committed 2021-12-03 02:56:24 +00:00
commit 3cc4bedd54
2 files changed
+7 -3

No files matched your search

@@ -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));