summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-05-08 19:32:36 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-05-08 19:32:36 +0200
commitd8abd2bd7011fc845d9a3a6c6cdec809ce25961c (patch)
tree9e2d709525aff9250bc0d1c699b4c877722959ba /ui.h
parentMerge "recovery: Refactor logging code into logging.cpp" (diff)
parentrecovery: Get UI and locale from device. (diff)
downloadandroid_bootable_recovery-d8abd2bd7011fc845d9a3a6c6cdec809ce25961c.tar
android_bootable_recovery-d8abd2bd7011fc845d9a3a6c6cdec809ce25961c.tar.gz
android_bootable_recovery-d8abd2bd7011fc845d9a3a6c6cdec809ce25961c.tar.bz2
android_bootable_recovery-d8abd2bd7011fc845d9a3a6c6cdec809ce25961c.tar.lz
android_bootable_recovery-d8abd2bd7011fc845d9a3a6c6cdec809ce25961c.tar.xz
android_bootable_recovery-d8abd2bd7011fc845d9a3a6c6cdec809ce25961c.tar.zst
android_bootable_recovery-d8abd2bd7011fc845d9a3a6c6cdec809ce25961c.zip
Diffstat (limited to 'ui.h')
-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;