Merge "bootstat: remove extraneous android_logcat_destroy." am: 6393c62e2e

am: 39e5bb6129

Change-Id: I7221a6803499bd74c02093049b51c1fe7c220aad
This commit is contained in:
Josh Gao 2017-10-19 02:08:40 +00:00 committed by android-build-merger
commit dc24a5dcec

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;