Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d37f814a authored by Tatsuyuki Ishi's avatar Tatsuyuki Ishi
Browse files

Wait for device before `adb root`

adb root does wait for the restart to complete so the wait after seems
redundant. OTOH if the device is not ready before adb root then adb root
 would fail.

Test: none
Change-Id: Id815a9d3ccb7d5f901b6e1a1b4a09832c61d28a3
parent 7b7f549b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -163,8 +163,8 @@ fi

rm -rf $HOST_PATH

adb root
adb wait-for-device
adb root

adb shell rm -rf $DEVICE_PATH
adb shell mkdir -p $DEVICE_PATH