summaryrefslogtreecommitdiffstats
path: root/recovery_ui/ui.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-08-20 22:40:47 +0200
committerxunchang <xunchang@google.com>2019-03-21 18:46:11 +0100
commit8f397309b41814205c8d32f1c10f6b056c13e8c3 (patch)
tree53c458f85d7ec6ea5243002786d340c8b57dbad6 /recovery_ui/ui.cpp
parentMerge "Move apply_from_sdcard to fuse_sdcard_install" (diff)
downloadandroid_bootable_recovery-8f397309b41814205c8d32f1c10f6b056c13e8c3.tar
android_bootable_recovery-8f397309b41814205c8d32f1c10f6b056c13e8c3.tar.gz
android_bootable_recovery-8f397309b41814205c8d32f1c10f6b056c13e8c3.tar.bz2
android_bootable_recovery-8f397309b41814205c8d32f1c10f6b056c13e8c3.tar.lz
android_bootable_recovery-8f397309b41814205c8d32f1c10f6b056c13e8c3.tar.xz
android_bootable_recovery-8f397309b41814205c8d32f1c10f6b056c13e8c3.tar.zst
android_bootable_recovery-8f397309b41814205c8d32f1c10f6b056c13e8c3.zip
Diffstat (limited to '')
-rw-r--r--recovery_ui/ui.cpp (renamed from ui.cpp)6
1 files changed, 2 insertions, 4 deletions
diff --git a/ui.cpp b/recovery_ui/ui.cpp
index c12a11b36..b7107ff21 100644
--- a/ui.cpp
+++ b/recovery_ui/ui.cpp
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#include "ui.h"
+#include "recovery_ui/ui.h"
#include <errno.h>
#include <fcntl.h>
@@ -39,7 +39,6 @@
#include "minui/minui.h"
#include "otautil/sysutil.h"
-#include "roots.h"
using namespace std::chrono_literals;
@@ -590,8 +589,7 @@ RecoveryUI::KeyAction RecoveryUI::CheckKey(int key, bool is_long_press) {
return (IsTextVisible() || screensaver_state_ == ScreensaverState::OFF) ? ENQUEUE : IGNORE;
}
-void RecoveryUI::KeyLongPress(int) {
-}
+void RecoveryUI::KeyLongPress(int) {}
void RecoveryUI::SetEnableReboot(bool enabled) {
std::lock_guard<std::mutex> lg(key_queue_mutex);