Handle app switch in Overview

- Transfer screenshot from WM to launcher when recents animation gets cancelled due to stack order change
- Transform two live windows when app open animation happens from recents

Fixes: 139258979
Fixes: 139259253
Test: switch task in overview

Change-Id: I80bafb8d45b9250fda937223254e365596a7f538
This commit is contained in:
Tracy Zhou authored and Winson Chung committed 2019-10-03 16:53:43 -07:00
1 parent 35d9ac924c
commit cdb72146e8
14 files changed
+227 -101

No files matched your search

@@ -34,6 +34,7 @@ import com.android.launcher3.DeviceProfile;
import com.android.launcher3.anim.AnimatorPlaybackController;
import com.android.quickstep.util.ActivityInitListener;
import com.android.quickstep.util.RemoteAnimationTargetSet;
import com.android.systemui.shared.recents.model.ThumbnailData;
import com.android.systemui.shared.system.RemoteAnimationTargetCompat;
import java.util.function.BiPredicate;
@@ -97,6 +98,8 @@ public interface ActivityControlHelper<T extends BaseDraggingActivity> {
default void closeOverlay() { }
default void switchToScreenshot(ThumbnailData thumbnailData, Runnable runnable) {}
interface AnimationFactory {
enum ShelfAnimState {