diff options
author | lucychang <lucychang@google.com> | 2020-10-07 12:34:19 +0800 |
---|---|---|
committer | Lucy Chang <lucychang@google.com> | 2020-10-13 06:23:31 +0000 |
commit | 12e1ea6a42b837b918e8f643d04d79e69db07737 (patch) | |
tree | f56b7098e4f5db4c78b277302a94cf45e9f455aa /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 168d7918b807477084a84cb365d0d72d45cfdd9a (diff) |
Using windowId from A11yWindowInfo instead
AccessibilityManagerService#getWindowBounds would return null if
using the windowId comes from the embedded hierarchy, and
EventDispatch#computeClickLocation will return CLICK_LOCATION_NONE
and can't perform long-click action. The fix try to use
AccessibilityWindowInfo's windowId to get correct window token to
get window bounds.
Bug: 161857059
Test: a11y CTS & unit tests
Change-Id: I5a978177352e973f06a856826a43910a9b655b29
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions