summaryrefslogtreecommitdiffstats
path: root/ui.h
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 /ui.h
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/include/recovery_ui/ui.h (renamed from ui.h)12
1 files changed, 6 insertions, 6 deletions
diff --git a/ui.h b/recovery_ui/include/recovery_ui/ui.h
index b387ae3c9..d55322cf0 100644
--- a/ui.h
+++ b/recovery_ui/include/recovery_ui/ui.h
@@ -35,20 +35,20 @@ class RecoveryUI {
INSTALLING_UPDATE,
ERASING,
NO_COMMAND,
- ERROR
+ ERROR,
};
enum ProgressType {
EMPTY,
INDETERMINATE,
- DETERMINATE
+ DETERMINATE,
};
enum KeyAction {
ENQUEUE,
TOGGLE,
REBOOT,
- IGNORE
+ IGNORE,
};
enum class KeyError : int {
@@ -60,8 +60,8 @@ class RecoveryUI {
virtual ~RecoveryUI();
- // Initializes the object; called before anything else. UI texts will be initialized according to
- // the given locale. Returns true on success.
+ // Initializes the object; called before anything else. UI texts will be initialized according
+ // to the given locale. Returns true on success.
virtual bool Init(const std::string& locale);
virtual std::string GetLocale() const = 0;
@@ -211,7 +211,7 @@ class RecoveryUI {
DISABLED,
NORMAL,
DIMMED,
- OFF
+ OFF,
};
// The sensitivity when detecting a swipe.