Fixes BinderTests when enable shell transition.
Post startActivity to UI_HELPER_EXECUTOR There will do Resumed the launcher's activity when goes to Overview, skip the isStarted != isResumed check while shell transition is enabled Bug: 207297486 Test: atest BinderTests Change-Id: Id3220b89bfac212062f389879549627a88d93a04
This commit is contained in:
1 parent
ed995a3e68
commit
aa79e68759
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));
|
||||
|
||||
Reference in new issue
Block a user