summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2019-12-03 16:05:54 -0800
committerJosh Gao <jmgao@google.com>2020-02-04 13:47:57 -0800
commit3828ebcdd8e70d141ef5ead031e796cf33ea9a94 (patch)
treefe2beaa52a1dfa84c8847a06da54d92616c008dd /trusty/coverage/coverage.cpp
parent2e10d8f74f317067f6bdd29646e0ef3a69c7d9c6 (diff)
adb: report error in copy_to_file.
Previously, if we failed to read a file after successfully opening it, (e.g. because it's a directory), we would return prematurely without notifying our caller, which would then wait forever for a response that isn't coming. Switch all of the adb install callsites over to checking the result, but leave the other callsites ignoring the result, because they're either deprecated, or don't care. Bug: http://b/145621968 Test: mkdir foo.apk; adb install foo.apk Change-Id: Ia82f8280b144f7881e067a10cd17f9a89019cf3f
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions