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 08:45:37 +0100
commitb5108c372c8b92671ea5ebb4eeff00757fcee187 (patch)
tree6e3ec0b1c17e068568c089037b85c09692ad1608 /ui.h
parentMerge "Move apply_from_sdcard to fuse_sdcard_install" am: 3c61cd02cf am: 3c21700fcd (diff)
downloadandroid_bootable_recovery-b5108c372c8b92671ea5ebb4eeff00757fcee187.tar
android_bootable_recovery-b5108c372c8b92671ea5ebb4eeff00757fcee187.tar.gz
android_bootable_recovery-b5108c372c8b92671ea5ebb4eeff00757fcee187.tar.bz2
android_bootable_recovery-b5108c372c8b92671ea5ebb4eeff00757fcee187.tar.lz
android_bootable_recovery-b5108c372c8b92671ea5ebb4eeff00757fcee187.tar.xz
android_bootable_recovery-b5108c372c8b92671ea5ebb4eeff00757fcee187.tar.zst
android_bootable_recovery-b5108c372c8b92671ea5ebb4eeff00757fcee187.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.