From c1a6c658aee702ca9549ada9c208011a2a7cf62a Mon Sep 17 00:00:00 2001 From: Vadim Tryshev Date: Thu, 4 Jun 2015 08:57:56 -0700 Subject: [PATCH] Processing non-long clicks on application icon. This CL alone doens't fix the whole bug, see the bug for the AI list. In normal mode, clicking at application icon on a task view is ignored to avoid accidental clicks. To open app properties, we need a long click. In accessibility mode, we want to make it easier to open app properties, and accidental clicks are less likely. Hence, allowing "simple" clicks. Bug: 20945599 Change-Id: Iec3f911dced1eda09175500fc1e798dd09b6f9e2 --- .../res/layout/recents_task_view_header.xml | 1 + .../systemui/recents/views/TaskView.java | 23 +++++++++++++++---- .../recents/views/TaskViewHeader.java | 1 - 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/packages/SystemUI/res/layout/recents_task_view_header.xml b/packages/SystemUI/res/layout/recents_task_view_header.xml index 53047a394f0bb..477d9d76f3ba7 100644 --- a/packages/SystemUI/res/layout/recents_task_view_header.xml +++ b/packages/SystemUI/res/layout/recents_task_view_header.xml @@ -21,6 +21,7 @@ android:layout_gravity="top|center_horizontal">