diff options
| author | Tao Bao <tbao@google.com> | 2017-11-02 15:40:36 -0700 |
|---|---|---|
| committer | Tao Bao <tbao@google.com> | 2017-11-02 15:53:12 -0700 |
| commit | 1d4f851e71adaf920f920130e0e2cf0d23a14475 (patch) | |
| tree | 040f7106b79edc222ea5a4499cc11a406685320d /libcutils/socket_network_client_unix.cpp | |
| parent | fce1c3db23c58acd732f01927bf17335009a74f9 (diff) | |
fastboot: Don't give parsing error for unsupported 'getvar erase-block-size'.
Couldn't parse erase-block-size '0x'.
Couldn't parse logical-block-size '0x'.
mke2fs 1.43.3 (04-Sep-2016)
...
Some bootloaders explicitly return error on failed query (e.g. walleye),
while others return empty message (e.g. bullhead). We should just return
zero for empty message, instead of giving a misleading parsing error.
Test: `fastboot format userdata` on bullhead, with no parsing error.
Test: `fastboot format userdata` on walleye still works.
Change-Id: I194d41d24679929eccc65bfe895d6ab2a26315b7
Diffstat (limited to 'libcutils/socket_network_client_unix.cpp')
0 files changed, 0 insertions, 0 deletions
