summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-05-07 23:37:40 -0700
committerElliott Hughes <enh@google.com>2015-05-08 08:43:10 -0700
commit5677c23e8d0c085be8d8429a5d125147d11e9bb2 (patch)
treef458309584d5282318d3dfa9b2777dc4ed74a95d /base/errors_unix.cpp
parent0c537ce3c0733b66827e96e207d3f99394b5da20 (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
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions