Merge "Check if the TaskView is a live tile task in task launch animation" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d9efe3a79c
@@ -2944,7 +2944,7 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
}
|
||||
mPendingAnimation.addEndListener(isSuccess -> {
|
||||
if (isSuccess) {
|
||||
if (LIVE_TILE.get()) {
|
||||
if (LIVE_TILE.get() && tv.isRunningTask()) {
|
||||
finishRecentsAnimation(false /* toRecents */, null);
|
||||
onTaskLaunchAnimationEnd(true /* success */);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user