summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/recents
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2014-09-09 14:13:04 +0200
committerWinson Chung <winsonc@google.com>2014-09-09 14:13:04 +0200
commit3751c359b4eaac9a7f149d791c8bf811e41fc61b (patch)
tree5a97a41acb6aa3861a99d12f13402296989dd657 /packages/SystemUI/src/com/android/systemui/recents
parenta41c4bcc3dcac9e808c9d524e24454d132790e9a (diff)
downloadframeworks_base-3751c359b4eaac9a7f149d791c8bf811e41fc61b.zip
frameworks_base-3751c359b4eaac9a7f149d791c8bf811e41fc61b.tar.gz
frameworks_base-3751c359b4eaac9a7f149d791c8bf811e41fc61b.tar.bz2
Fixing issue with screen pinning not working. (Bug 17436123)
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/recents')
-rw-r--r--packages/SystemUI/src/com/android/systemui/recents/views/TaskView.java2
1 files changed, 1 insertions, 1 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 49aa52b..9f269d3 100644
--- a/packages/SystemUI/src/com/android/systemui/recents/views/TaskView.java
+++ b/packages/SystemUI/src/com/android/systemui/recents/views/TaskView.java
@@ -840,7 +840,7 @@ public class TaskView extends FrameLayout implements Task.TaskCallbacks,
@Override
public void onClick(final View v) {
final TaskView tv = this;
- final boolean delayViewClick = (v != this);
+ final boolean delayViewClick = (v != this) && (v != mActionButtonView);
if (delayViewClick) {
// We purposely post the handler delayed to allow for the touch feedback to draw
postDelayed(new Runnable() {