diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2018-02-22 13:22:21 -0800 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2018-02-22 17:27:13 -0800 |
commit | 0e7724cef788a8e78e1ed5ae70583d4360ce9fc5 (patch) | |
tree | f87f8f28efb6d89d037a3eae23787ac1b733354f /quickstep | |
parent | a12bd507d1d94ea326982629d3154c53aa0d7aac (diff) | |
download | android_packages_apps_Trebuchet-0e7724cef788a8e78e1ed5ae70583d4360ce9fc5.tar.gz android_packages_apps_Trebuchet-0e7724cef788a8e78e1ed5ae70583d4360ce9fc5.tar.bz2 android_packages_apps_Trebuchet-0e7724cef788a8e78e1ed5ae70583d4360ce9fc5.zip |
Ensuring that all the pending tasks are run
before marking the ViewOnDrawExecutor as completed.
Also fixing model writer not updated on rotation
Change-Id: I5ecd7ac865b939ffa4c02afe892bd773d9f275c3
Diffstat (limited to 'quickstep')
-rw-r--r-- | quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java b/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java index 012afb26c..3652d2318 100644 --- a/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java +++ b/quickstep/src/com/android/quickstep/WindowTransformSwipeHandler.java @@ -742,7 +742,7 @@ public class WindowTransformSwipeHandler extends BaseSwipeInteractionHandler { if (taskView != null) { // Defer finishing the animation until the next launcher frame with the // new thumbnail - ViewOnDrawExecutor executor = new ViewOnDrawExecutor(mMainExecutor) { + ViewOnDrawExecutor executor = new ViewOnDrawExecutor() { @Override public void onViewDetachedFromWindow(View v) { if (!isCompleted()) { |