Merge "bootstat: remove extraneous android_logcat_destroy."

This commit is contained in:
Treehugger Robot 2017-10-19 01:43:22 +00:00 committed by Gerrit Code Review
commit 6393c62e2e
1 changed files with 0 additions and 1 deletions

View File

@ -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;