summaryrefslogtreecommitdiffstats
path: root/screen_ui.cpp
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 /screen_ui.cpp
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 '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;