summaryrefslogtreecommitdiff
path: root/bootstat/bootstat.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2017-10-19 02:08:40 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-19 02:08:40 +0000
commitdc24a5dceca5d0c0cc18f85a192ebd7fd33ed7b5 (patch)
treebb98363ffa0ea153d584c4d8d304bb660d1991bf /bootstat/bootstat.cpp
parent23cba239286dc8bb10278821222d504d2ea535d5 (diff)
parent39e5bb61297a6069c5bcc260937e15547e0c2530 (diff)
Merge "bootstat: remove extraneous android_logcat_destroy." am: 6393c62e2e
am: 39e5bb6129 Change-Id: I7221a6803499bd74c02093049b51c1fe7c220aad
Diffstat (limited to 'bootstat/bootstat.cpp')
-rw-r--r--bootstat/bootstat.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/bootstat/bootstat.cpp b/bootstat/bootstat.cpp
index f8eaa1cd3..8916c598a 100644
--- a/bootstat/bootstat.cpp
+++ b/bootstat/bootstat.cpp
@@ -508,7 +508,6 @@ std::string BootReasonStrToReason(const std::string& boot_reason) {
android::base::ReadFdToString(fileno(fp), &content);
}
android_logcat_pclose(&ctx, fp);
- android_logcat_destroy(&ctx);
static const char logcat_battery[] = "W/healthd ( 0): battery l=";
const char* match = logcat_battery;