summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-05-05 11:37:34 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-05-05 11:37:34 +0200
commit1bc48e4463f25ac73c0e5c668d5bcefad18c7693 (patch)
treed1ca1805b021c8e7c19d33f0ccbc50d65f7a488a /recovery.cpp
parentSnap for 4762932 from 96106592a2cebb78cc7d2772376cd1caf34ce9a1 to qt-release (diff)
parentMerge changes I1cc5d702,I32ab9854 am: 420f7f8df4 am: c4ba6b738f (diff)
downloadandroid_bootable_recovery-1bc48e4463f25ac73c0e5c668d5bcefad18c7693.tar
android_bootable_recovery-1bc48e4463f25ac73c0e5c668d5bcefad18c7693.tar.gz
android_bootable_recovery-1bc48e4463f25ac73c0e5c668d5bcefad18c7693.tar.bz2
android_bootable_recovery-1bc48e4463f25ac73c0e5c668d5bcefad18c7693.tar.lz
android_bootable_recovery-1bc48e4463f25ac73c0e5c668d5bcefad18c7693.tar.xz
android_bootable_recovery-1bc48e4463f25ac73c0e5c668d5bcefad18c7693.tar.zst
android_bootable_recovery-1bc48e4463f25ac73c0e5c668d5bcefad18c7693.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")