summaryrefslogtreecommitdiffstats
path: root/ui.cpp
diff options
context:
space:
mode:
authorandroid-build-prod (mdb) <android-build-team-robot@google.com>2018-05-04 19:26:11 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-05-04 19:26:11 +0200
commit420f7f8df45b16aa984396270419cacf11baeab6 (patch)
treef376f2005a2bc514781e4f94ca176378ab9a9f68 /ui.cpp
parentMerge "otautil: Only build the needed files for host build." (diff)
parentMove reboot() from common.h into otautil/sysutil.h. (diff)
downloadandroid_bootable_recovery-420f7f8df45b16aa984396270419cacf11baeab6.tar
android_bootable_recovery-420f7f8df45b16aa984396270419cacf11baeab6.tar.gz
android_bootable_recovery-420f7f8df45b16aa984396270419cacf11baeab6.tar.bz2
android_bootable_recovery-420f7f8df45b16aa984396270419cacf11baeab6.tar.lz
android_bootable_recovery-420f7f8df45b16aa984396270419cacf11baeab6.tar.xz
android_bootable_recovery-420f7f8df45b16aa984396270419cacf11baeab6.tar.zst
android_bootable_recovery-420f7f8df45b16aa984396270419cacf11baeab6.zip
Diffstat (limited to 'ui.cpp')
-rw-r--r--ui.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/ui.cpp b/ui.cpp
index 3c9ded735..8983d7692 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -36,14 +36,12 @@
#include <android-base/file.h>
#include <android-base/logging.h>
#include <android-base/parseint.h>
-#include <android-base/properties.h>
#include <android-base/strings.h>
-#include <cutils/android_reboot.h>
#include <minui/minui.h>
-#include "common.h"
-#include "roots.h"
#include "device.h"
+#include "otautil/sysutil.h"
+#include "roots.h"
static constexpr int UI_WAIT_KEY_TIMEOUT_SEC = 120;
static constexpr const char* BRIGHTNESS_FILE = "/sys/class/leds/lcd-backlight/brightness";