Merge "Replace reboot-fastboot by reboot fastboot"
am: cd68bda4ec
Change-Id: I311a3b93b27a8360aa81447d482e6c0c2e2cc404
This commit is contained in:
commit
d2353d030f
1 changed files with 2 additions and 2 deletions
|
@ -1026,7 +1026,7 @@ elif [ "${ANDROID_PRODUCT_OUT}" = "${ANDROID_PRODUCT_OUT%*/${H}}" ]; then
|
|||
elif [ -z "${ANDROID_HOST_OUT}" ]; then
|
||||
echo "${ORANGE}[ WARNING ]${NORMAL} please run lunch, skipping"
|
||||
else
|
||||
adb reboot-fastboot ||
|
||||
adb reboot fastboot ||
|
||||
die "fastbootd not supported (wrong adb in path?)"
|
||||
any_wait 2m &&
|
||||
inFastboot ||
|
||||
|
@ -1136,7 +1136,7 @@ if [ -n "${scratch_partition}" ]; then
|
|||
|
||||
echo "${GREEN}[ RUN ]${NORMAL} test fastboot flash to ${scratch_partition} recovery" >&2
|
||||
|
||||
adb reboot-fastboot ||
|
||||
adb reboot fastboot ||
|
||||
die "Reboot into fastbootd"
|
||||
img=${TMPDIR}/adb-remount-test-${$}.img
|
||||
cleanup() {
|
||||
|
|
Loading…
Reference in a new issue