diff options
author | David Anderson <dvander@google.com> | 2018-08-27 16:47:32 -0700 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2018-08-28 09:07:40 -0700 |
commit | 1d887434daf1f8f7a8a4c13663b653941aa07673 (patch) | |
tree | 2cdb59d4f334f242f4040407078cce4deed1c08c /libutils/Unicode.cpp | |
parent | 53ba407a891df5b7cff5f62592332af9222a68c8 (diff) |
fastboot: Automatically reboot to userspace fastboot.
In order to flash logical partitions, "flashall" must be run against
userspace fastboot. When the bootloader supports the "reboot-fastboot"
command, we now attempt to automatically reboot into userspace fastboot.
We do this by closing the transport, sleeping for one second, and then
polling for a new connection until one is available. FastBootDriver is
then assigned the new transport.
Bug: 78793464
Test: fastboot flashall on device with logical partitions, while booted
into bootloader fastboot
Change-Id: I6949871b93ab5e352784cabe0963c6ecfc0af36d
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions