commit | 16d1aeecb0a0c352377705582e9de1be90f732d8 | [log] [tgz] |
---|---|---|
author | Nandana Dutt <nandana@google.com> | Fri Feb 15 16:13:53 2019 +0000 |
committer | Nandana Dutt <nandana@google.com> | Wed Feb 20 10:23:29 2019 +0000 |
tree | 49807d825feeda0623bd68230e75a14697408bc9 | |
parent | afff99c55a97c33d21cba31ee08bea6d05032568 [diff] |
dumpstate: enforce oneshot Ensure the service exits after errors as well as after successful finish as a oneshot service should. While at it also move remove(file) to unlink(file) and fix an error in checking the return value of unlink. BUG: 123571915 Test: adb shell /data/nativetest64/dumpstate_smoke_test/dumpstate_smoke_test --gtest_filter=DumpstateBinderTest.* Change-Id: I772b7981cd3b2f7c285ab980495d5539d57ebf46