Automatically do 'adb disable-verity' if needed
This also adds 'adb wait-for-device' before 'adb root'
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: I064a6408fefee13cc3c4882f060e3b5059364d4f
1 file changed