summaryrefslogtreecommitdiffstats
path: root/ui.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 /ui.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 '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";