bootstat: remove extraneous android_logcat_destroy.
android_logcat_pclose already does that. Bug: http://b/67960705 Test: mma Change-Id: I03d06b10807e8a313c9654c2e1db36bfb59e3f99
This commit is contained in:
parent
4ff2607ef7
commit
52315ae329
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue