summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorandroid-build-prod (mdb) <android-build-team-robot@google.com>2018-05-04 19:43:36 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-05-04 19:43:36 +0200
commit13415d9138556586281f032c4f84d329c9f2cb77 (patch)
treed1ca1805b021c8e7c19d33f0ccbc50d65f7a488a /recovery.cpp
parentMerge "otautil: Only build the needed files for host build." am: 5818e894df (diff)
parentMerge changes I1cc5d702,I32ab9854 (diff)
downloadandroid_bootable_recovery-13415d9138556586281f032c4f84d329c9f2cb77.tar
android_bootable_recovery-13415d9138556586281f032c4f84d329c9f2cb77.tar.gz
android_bootable_recovery-13415d9138556586281f032c4f84d329c9f2cb77.tar.bz2
android_bootable_recovery-13415d9138556586281f032c4f84d329c9f2cb77.tar.lz
android_bootable_recovery-13415d9138556586281f032c4f84d329c9f2cb77.tar.xz
android_bootable_recovery-13415d9138556586281f032c4f84d329c9f2cb77.tar.zst
android_bootable_recovery-13415d9138556586281f032c4f84d329c9f2cb77.zip
Diffstat (limited to 'recovery.cpp')
-rw-r--r--recovery.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/recovery.cpp b/recovery.cpp
index d7ece4e35..00f38596c 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -67,9 +67,10 @@
#include "fuse_sideload.h"
#include "install.h"
#include "minui/minui.h"
-#include "otautil/DirUtil.h"
+#include "otautil/dirutil.h"
#include "otautil/error_code.h"
#include "otautil/paths.h"
+#include "otautil/sysutil.h"
#include "roots.h"
#include "rotate_logs.h"
#include "screen_ui.h"
@@ -177,14 +178,6 @@ bool is_ro_debuggable() {
return android::base::GetBoolProperty("ro.debuggable", false);
}
-bool reboot(const std::string& command) {
- std::string cmd = command;
- if (android::base::GetBoolProperty("ro.boot.quiescent", false)) {
- cmd += ",quiescent";
- }
- return android::base::SetProperty(ANDROID_RB_PROPERTY, cmd);
-}
-
// command line args come from, in decreasing precedence:
// - the actual command line
// - the bootloader control block (one per line, after "recovery")