diff options
author | Tao Bao <tbao@google.com> | 2017-01-05 18:01:01 -0800 |
---|---|---|
committer | Tao Bao <tbao@google.com> | 2017-01-05 18:01:01 -0800 |
commit | 40e0ec918e728911c0dc3fb3f76d5c0de83dd702 (patch) | |
tree | b49d527279cdd4fd966a4b632ebdb66162e077fa /libcutils/sockets_unix.cpp | |
parent | 491c3871a08b32b43b6f202eb6ca5a7dd6b7cafd (diff) |
adb: Fix the 'adb reboot sideload' for A/B devices.
We used to write the command file (/cache/recovery/command) to trigger
the sideload mode. A/B devices don't support that (may not have /cache
paritition). This CL switches to using libbootloader_message which
writes the command to BCB (bootloader control block) instead.
Test: "adb root && adb reboot sideload" reboots sailfish into recovery
sideload mode.
Change-Id: I158fd7cbcfa9a5d0609f1f684a2d03675217628f
Diffstat (limited to 'libcutils/sockets_unix.cpp')
0 files changed, 0 insertions, 0 deletions