summaryrefslogtreecommitdiff
path: root/recovery-persist.cpp
diff options
context:
space:
mode:
authorJerry Zhang <zhangjerry@google.com>2018-05-02 16:56:00 -0700
committerJerry Zhang <zhangjerry@google.com>2018-05-07 14:14:17 -0700
commit152933a28e9afd9d696f5b0284e638894e6492ee (patch)
tree5cb7ba653a1a16dd2b603cc66a3da75c59e0ef1b /recovery-persist.cpp
parent420f7f8df45b16aa984396270419cacf11baeab6 (diff)
recovery: Refactor logging code into logging.cpp
Move common logging related functions to rotate_logs.cpp, and rename that to logging.cpp. Test: Recovery works Bug: 78793464 Merged-In: I00f20a79a296680122b8437d54a87897c5cb2fc7 Change-Id: I00f20a79a296680122b8437d54a87897c5cb2fc7
Diffstat (limited to 'recovery-persist.cpp')
-rw-r--r--recovery-persist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/recovery-persist.cpp b/recovery-persist.cpp
index dbce7ff7..d3ade626 100644
--- a/recovery-persist.cpp
+++ b/recovery-persist.cpp
@@ -41,7 +41,7 @@
#include <android-base/logging.h>
#include <private/android_logger.h> /* private pmsg functions */
-#include "rotate_logs.h"
+#include "logging.h"
static const char *LAST_LOG_FILE = "/data/misc/recovery/last_log";
static const char *LAST_PMSG_FILE = "/sys/fs/pstore/pmsg-ramoops-0";