Automatically do 'adb disable-verity' if needed
This also changes the order of 'adb root' and 'adb wait-for-device'
to correctly handle the case that device is not ready yet when
runtest.sh is executed.
Bug: 67326963
Test: run 'adb enable-verify' and 'adb reboot'
then execute run_test.sh
observe that 'adb disable-verify' is executed.
Test: run 'adb disable-verify' and 'adb reboot'
then execute run_test.sh
observe that 'adb disable-verify' is not executed.
Change-Id: I3f7ee2be2789ddd912ed2423c5ce5db20efe211d
1 file changed