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 /quickstep/src | |
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 'quickstep/src')
-rw-r--r-- | quickstep/src/com/android/quickstep/ActivityControlHelper.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/quickstep/src/com/android/quickstep/ActivityControlHelper.java b/quickstep/src/com/android/quickstep/ActivityControlHelper.java index dcc1ace88..8675c3e02 100644 --- a/quickstep/src/com/android/quickstep/ActivityControlHelper.java +++ b/quickstep/src/com/android/quickstep/ActivityControlHelper.java @@ -93,6 +93,8 @@ public interface ActivityControlHelper<T extends BaseDraggingActivity> { boolean isInLiveTileMode(); + void onLaunchTaskFailed(T activity); + interface ActivityInitListener { void register(); |