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 | c691b3948c0a0546d637d133a343c201691df500 (patch) | |
| tree | b49d527279cdd4fd966a4b632ebdb66162e077fa /libutils/Unicode.cpp | |
| parent | d9d8c8351ee7a1abf727af3ca49ad94fed2f351d (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 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions
