summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2012-09-18 22:48:31 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2012-09-18 22:48:31 +0200
commited3bc11e7dd4b6e0ddb77a3c9492675d8ac6855d (patch)
tree6990ad74371795a16ac1670bb21ca2f8e6aeb6bd /ui.h
parentReconcile with jb-mr1-release - do not merge (diff)
parentlocalization for recovery messages (diff)
downloadandroid_bootable_recovery-ed3bc11e7dd4b6e0ddb77a3c9492675d8ac6855d.tar
android_bootable_recovery-ed3bc11e7dd4b6e0ddb77a3c9492675d8ac6855d.tar.gz
android_bootable_recovery-ed3bc11e7dd4b6e0ddb77a3c9492675d8ac6855d.tar.bz2
android_bootable_recovery-ed3bc11e7dd4b6e0ddb77a3c9492675d8ac6855d.tar.lz
android_bootable_recovery-ed3bc11e7dd4b6e0ddb77a3c9492675d8ac6855d.tar.xz
android_bootable_recovery-ed3bc11e7dd4b6e0ddb77a3c9492675d8ac6855d.tar.zst
android_bootable_recovery-ed3bc11e7dd4b6e0ddb77a3c9492675d8ac6855d.zip
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui.h b/ui.h
index ccbb466ac..acb57663e 100644
--- a/ui.h
+++ b/ui.h
@@ -30,6 +30,9 @@ class RecoveryUI {
// Initialize the object; called before anything else.
virtual void Init();
+ // After calling Init(), you can tell the UI what locale it is operating in.
+ virtual void SetLocale(const char* locale) { }
+
// Set the overall recovery state ("background image").
enum Icon { NONE, INSTALLING_UPDATE, ERASING, NO_COMMAND, ERROR };
virtual void SetBackground(Icon icon) = 0;