summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorJerry Zhang <zhangjerry@google.com>2018-05-03 02:15:03 +0200
committerTao Bao <tbao@google.com>2018-05-08 08:09:54 +0200
commit2dea53ef2b96fe09083d9cad42b5f07b6ad83ab5 (patch)
tree9e2d709525aff9250bc0d1c699b4c877722959ba /ui.h
parentMerge "recovery: Refactor logging code into logging.cpp" (diff)
downloadandroid_bootable_recovery-2dea53ef2b96fe09083d9cad42b5f07b6ad83ab5.tar
android_bootable_recovery-2dea53ef2b96fe09083d9cad42b5f07b6ad83ab5.tar.gz
android_bootable_recovery-2dea53ef2b96fe09083d9cad42b5f07b6ad83ab5.tar.bz2
android_bootable_recovery-2dea53ef2b96fe09083d9cad42b5f07b6ad83ab5.tar.lz
android_bootable_recovery-2dea53ef2b96fe09083d9cad42b5f07b6ad83ab5.tar.xz
android_bootable_recovery-2dea53ef2b96fe09083d9cad42b5f07b6ad83ab5.tar.zst
android_bootable_recovery-2dea53ef2b96fe09083d9cad42b5f07b6ad83ab5.zip
Diffstat (limited to '')
-rw-r--r--ui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui.h b/ui.h
index 35cc36e70..f8677902e 100644
--- a/ui.h
+++ b/ui.h
@@ -57,6 +57,8 @@ class RecoveryUI {
// the given locale. Returns true on success.
virtual bool Init(const std::string& locale);
+ virtual std::string GetLocale() = 0;
+
// Shows a stage indicator. Called immediately after Init().
virtual void SetStage(int current, int max) = 0;