diff options
author | Winson Chung <winsonc@google.com> | 2014-10-13 17:44:35 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2014-10-14 15:53:45 -0700 |
commit | ca8686af744f30992904ead71db7bb39866d4f99 (patch) | |
tree | 7a6513153c9f788b6f1b6041842be6b58e5966a1 /packages/SystemUI/src/com/android/systemui/recents | |
parent | 38e957153c0861398c7307b2c6dfe366ddd068ee (diff) | |
download | frameworks_base-ca8686af744f30992904ead71db7bb39866d4f99.zip frameworks_base-ca8686af744f30992904ead71db7bb39866d4f99.tar.gz frameworks_base-ca8686af744f30992904ead71db7bb39866d4f99.tar.bz2 |
Fixing regression with screen pinning button not animating for the first task. (Bug 17985087)
Change-Id: I81b8b5d6521c99023bbaf903d1bfb95015fbe756
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/recents')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/recents/views/TaskView.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recents/views/TaskView.java b/packages/SystemUI/src/com/android/systemui/recents/views/TaskView.java index 5b22524..dfb30f3 100644 --- a/packages/SystemUI/src/com/android/systemui/recents/views/TaskView.java +++ b/packages/SystemUI/src/com/android/systemui/recents/views/TaskView.java @@ -228,6 +228,8 @@ public class TaskView extends FrameLayout implements Task.TaskCallbacks, if (isTaskViewLaunchTargetTask) { // Set the dim to 0 so we can animate it in initialDim = 0; + // Hide the action button + mActionButtonView.setAlpha(0f); } else if (occludesLaunchTarget) { // Move the task view off screen (below) so we can animate it in setTranslationY(offscreenY); |