summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2015-03-24 14:18:23 -0700
committerWinson Chung <winsonc@google.com>2015-03-24 14:19:42 -0700
commit3040484265bf5fe9f5bc7a1974b5c78d69eba01f (patch)
tree0a4a589728c15c1ca2a0a127d30087ea511043b5 /packages/SystemUI
parent8d09a7445ef2b396e443515ce4b02a52115778db (diff)
downloadframeworks_base-3040484265bf5fe9f5bc7a1974b5c78d69eba01f.zip
frameworks_base-3040484265bf5fe9f5bc7a1974b5c78d69eba01f.tar.gz
frameworks_base-3040484265bf5fe9f5bc7a1974b5c78d69eba01f.tar.bz2
Fixing issue with floating task headers.
Bug 19516828
Diffstat (limited to 'packages/SystemUI')
-rw-r--r--packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.java b/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.java
index bba7682..a55e026 100644
--- a/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.java
+++ b/packages/SystemUI/src/com/android/systemui/recents/views/TaskViewTransform.java
@@ -132,6 +132,8 @@ public class TaskViewTransform {
/** Reset the transform on a view. */
public static void reset(View v) {
+ // Cancel any running animations
+ v.animate().cancel();
v.setTranslationX(0f);
v.setTranslationY(0f);
v.setTranslationZ(0f);