6526b38f2871c8d59eb80f4855138de1313de485 |
|
24-Feb-2017 |
Ben Lin <linben@google.com> |
Add button state to BandSelection Ui Test. UIAutomator has Configurator#setToolType, but no such feature for set button state. We have a check that only allows band selection if starting from primary button, but UiAutomator defaults to buttonState = 0 for injecting MotionEvents. This is re-using their code in our own codebase, and manually passing down button state ourselves. Change-Id: Iaaeee5356861e26e79514358123cb7ec1b09f13c
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/GestureBot.java
|