diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2018-08-08 16:33:46 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2018-08-10 13:31:46 -0700 |
commit | 849c6a2b1815ffc8dfeb6c64e16e85e11a99d179 (patch) | |
tree | 0f27488eedd03202232607f388aafbfad2315642 /quickstep | |
parent | 52b28f09264cb9689f3f88ca6d2f6f49ba654102 (diff) | |
download | android_packages_apps_Trebuchet-849c6a2b1815ffc8dfeb6c64e16e85e11a99d179.tar.gz android_packages_apps_Trebuchet-849c6a2b1815ffc8dfeb6c64e16e85e11a99d179.tar.bz2 android_packages_apps_Trebuchet-849c6a2b1815ffc8dfeb6c64e16e85e11a99d179.zip |
Removing Launcher activity dependency on various animations
(This cl reverts change-Id: I455edcd17bda83ab51c2c04fa40e66097a4d6975)
Various animations were marked for cancellation when launcher activity is
destroyed. This this does not work with multiple activities (Launcher,
fallback recents, shortcut confirmation). Also since launcher activity
handles configuration changes, the activity is not destroyed often.
Instead associating a target with various animations which automatically
cancels the animations when that target goes away.
Change-Id: I64cd095a28075561a9e20c9dcdeb9f90c18e1047
Diffstat (limited to 'quickstep')
-rw-r--r-- | quickstep/src/com/android/quickstep/views/TaskMenuView.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/quickstep/src/com/android/quickstep/views/TaskMenuView.java b/quickstep/src/com/android/quickstep/views/TaskMenuView.java index 41626c6be..28928a8e5 100644 --- a/quickstep/src/com/android/quickstep/views/TaskMenuView.java +++ b/quickstep/src/com/android/quickstep/views/TaskMenuView.java @@ -34,7 +34,6 @@ import android.widget.TextView; import com.android.launcher3.AbstractFloatingView; import com.android.launcher3.BaseDraggingActivity; import com.android.launcher3.FastBitmapDrawable; -import com.android.launcher3.LauncherAnimUtils; import com.android.launcher3.R; import com.android.launcher3.anim.AnimationSuccessListener; import com.android.launcher3.anim.Interpolators; @@ -241,7 +240,7 @@ public class TaskMenuView extends AbstractFloatingView { if (mOpenCloseAnimator != null && mOpenCloseAnimator.isRunning()) { mOpenCloseAnimator.end(); } - mOpenCloseAnimator = LauncherAnimUtils.createAnimatorSet(); + mOpenCloseAnimator = new AnimatorSet(); final Animator revealAnimator = createOpenCloseOutlineProvider() .createRevealAnimator(this, closing); |