Merge "Check if the TaskView is a live tile task in task launch animation" into sc-dev am: d9efe3a79c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14216633 Change-Id: I0617d2c6d64f7f05bb5609a9acfa7da6a9201eda
This commit is contained in:
@@ -2944,7 +2944,7 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
|||||||
}
|
}
|
||||||
mPendingAnimation.addEndListener(isSuccess -> {
|
mPendingAnimation.addEndListener(isSuccess -> {
|
||||||
if (isSuccess) {
|
if (isSuccess) {
|
||||||
if (LIVE_TILE.get()) {
|
if (LIVE_TILE.get() && tv.isRunningTask()) {
|
||||||
finishRecentsAnimation(false /* toRecents */, null);
|
finishRecentsAnimation(false /* toRecents */, null);
|
||||||
onTaskLaunchAnimationEnd(true /* success */);
|
onTaskLaunchAnimationEnd(true /* success */);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user