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 /src/com/android/launcher3/notification | |
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 'src/com/android/launcher3/notification')
-rw-r--r-- | src/com/android/launcher3/notification/NotificationFooterLayout.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/launcher3/notification/NotificationFooterLayout.java b/src/com/android/launcher3/notification/NotificationFooterLayout.java index 66f525cb4..3cc936560 100644 --- a/src/com/android/launcher3/notification/NotificationFooterLayout.java +++ b/src/com/android/launcher3/notification/NotificationFooterLayout.java @@ -29,7 +29,6 @@ import android.view.View; import android.widget.FrameLayout; import android.widget.LinearLayout; -import com.android.launcher3.LauncherAnimUtils; import com.android.launcher3.R; import com.android.launcher3.Utilities; import com.android.launcher3.anim.PropertyListBuilder; @@ -151,7 +150,7 @@ public class NotificationFooterLayout extends FrameLayout { public void animateFirstNotificationTo(Rect toBounds, final IconAnimationEndListener callback) { - AnimatorSet animation = LauncherAnimUtils.createAnimatorSet(); + AnimatorSet animation = new AnimatorSet(); final View firstNotification = mIconRow.getChildAt(mIconRow.getChildCount() - 1); Rect fromBounds = sTempRect; |