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
Loading
Please register or sign in to comment