OSDN Git Service

TouchExploer computes incorectly the click location.
authorSvetoslav <svetoslavganov@google.com>
Fri, 19 Sep 2014 22:37:02 +0000 (15:37 -0700)
committerSvetoslav <svetoslavganov@google.com>
Fri, 19 Sep 2014 23:54:20 +0000 (16:54 -0700)
commit8d412fe18b9ce8cf71ce57c380e7f312e4667667
treea053f2cbc0f3f23b8e8a0008047c735c12e8f8ed
parentddc5e5f1c60f5fc491c9299a0afd280f8fdc252b
TouchExploer computes incorectly the click location.

If there is accessibilty focus and the user touch explores
location that does not change accessibility focus that is
not in the app window, e.g. system bar, double tap does not
click on the system UI affordance. This is due to obsolete
logic from the time where accessibility focus was only in
the active window at the time of double clicking.

bug:17588024

Change-Id: Ib780103e873d8a2afd3b35de3227d54116f1a1b0
services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java
services/accessibility/java/com/android/server/accessibility/TouchExplorer.java