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
2 files changed