summaryrefslogtreecommitdiffstats
path: root/screen_ui.cpp
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 /screen_ui.cpp
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 'screen_ui.cpp')
-rw-r--r--screen_ui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/screen_ui.cpp b/screen_ui.cpp
index 7ae81e55f..4a1a5b99c 100644
--- a/screen_ui.cpp
+++ b/screen_ui.cpp
@@ -748,6 +748,10 @@ bool ScreenRecoveryUI::Init(const std::string& locale) {
return true;
}
+std::string ScreenRecoveryUI::GetLocale() {
+ return locale_;
+}
+
void ScreenRecoveryUI::LoadAnimation() {
std::unique_ptr<DIR, decltype(&closedir)> dir(opendir("/res/images"), closedir);
dirent* de;