diff options
author | Tony Wickham <twickham@google.com> | 2019-06-11 18:31:15 -0700 |
---|---|---|
committer | Tony Wickham <twickham@google.com> | 2019-06-12 15:24:58 -0700 |
commit | e8836dc0823a4b7115f2bc7b5f93c4d6b8cc9f7a (patch) | |
tree | c8f39d75f14eb95ffe1814cc84c5a623180b8d3f /go | |
parent | 6129e4737cce1590f81393f384ec66efb6a220f8 (diff) | |
download | android_packages_apps_Trebuchet-e8836dc0823a4b7115f2bc7b5f93c4d6b8cc9f7a.tar.gz android_packages_apps_Trebuchet-e8836dc0823a4b7115f2bc7b5f93c4d6b8cc9f7a.tar.bz2 android_packages_apps_Trebuchet-e8836dc0823a4b7115f2bc7b5f93c4d6b8cc9f7a.zip |
Gracefully handle failed task launches during quick switch
When quick switching from home or overview, go to OverviewState if the
task launch failed. Otherwise we get stuck in BackgroundAppState.
Bug: 135038270
Change-Id: I42785c261cef0df95666bc106ec5ca6ef0553cc7
Diffstat (limited to 'go')
-rw-r--r-- | go/quickstep/src/com/android/quickstep/GoActivityControlHelper.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/go/quickstep/src/com/android/quickstep/GoActivityControlHelper.java b/go/quickstep/src/com/android/quickstep/GoActivityControlHelper.java index 2db8b39d9..274a347cb 100644 --- a/go/quickstep/src/com/android/quickstep/GoActivityControlHelper.java +++ b/go/quickstep/src/com/android/quickstep/GoActivityControlHelper.java @@ -61,4 +61,9 @@ public abstract class GoActivityControlHelper<T extends BaseDraggingActivity> im // Go does not support live tiles. return false; } + + @Override + public void onLaunchTaskFailed(T activity) { + // Go does not support gestures from one task to another. + } } |