From 3751c359b4eaac9a7f149d791c8bf811e41fc61b Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Tue, 9 Sep 2014 14:13:04 +0200 Subject: Fixing issue with screen pinning not working. (Bug 17436123) --- packages/SystemUI/src/com/android/systemui/recents/views/TaskView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/SystemUI/src/com/android') 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() { -- cgit v1.1