diff options
| author | Elliott Hughes <enh@google.com> | 2015-05-07 23:37:40 -0700 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2015-05-08 10:49:31 -0700 |
| commit | 207ddb20ac2f25de19d74fe88f2a526e0ee5cfa6 (patch) | |
| tree | d5e5a6e057e8d93a4b5c5d38dd3b71ec0917a984 /libutils/Unicode_test.cpp | |
| parent | c33e62bdc63ddaf7a17c5f317e73349bf3df2b83 (diff) | |
Fix "adb remount" for devices without an oem partition.
On a device without an oem partition, we now have an /oem directory
anyway. This causes find_mount to fail, and that was returning nullptr
from a std::string-returning function. Boom!
Also clean up the bits of code I had to trace through between "adb remount"
on the host to the crash on the device as I debugged this.
The only other meaningful change is the error checking in
adb_connect_command --- adb_connect can also return -2.
Bug: http://b/20916855
Change-Id: I4c3b7858e13f3a3a8bbc7d30b3c0ee470bead587
(cherry picked from commit 5677c23e8d0c085be8d8429a5d125147d11e9bb2)
Diffstat (limited to 'libutils/Unicode_test.cpp')
0 files changed, 0 insertions, 0 deletions
