Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52315ae3 authored by Josh Gao's avatar Josh Gao
Browse files

bootstat: remove extraneous android_logcat_destroy.

android_logcat_pclose already does that.

Bug: http://b/67960705
Test: mma
Change-Id: I03d06b10807e8a313c9654c2e1db36bfb59e3f99
parent 4ff2607e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;