Fix scrollable start and end detection in ui automator.

Needed to change runAndWaitForEvent to plumb the AccessibilityEvent back
to the caller, but it's a private method, so it should be fine.
The determination for vertical or horizontal scrolling is a little bit
hackish, but there's no other way from within scrollSwipe.

Bug: 7461659
Change-Id: I3908440cd8cb6e9ee1c76f3fa4096f87107df6e4
1 file changed
tree: 46817a3391fb1477356539705d5c004f4ef4d961
  1. .gitignore
  2. Android.mk
  3. MODULE_LICENSE_APACHE2
  4. androidtestlib/
  5. uiautomator/