diff options
author | Tao Bao <tbao@google.com> | 2018-05-08 19:46:01 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-05-08 19:46:01 +0200 |
commit | e5caa4095b8d250af3d11c6d910a4948f3d0e93c (patch) | |
tree | 7001c4d85fc343b3c4f8c1c2b8419487025e3058 /screen_ui.cpp | |
parent | [automerger skipped] Merge "recovery: Refactor logging code into logging.cpp" am: 5285c27bf4 (diff) | |
parent | Merge "recovery: Get UI and locale from device." (diff) | |
download | android_bootable_recovery-e5caa4095b8d250af3d11c6d910a4948f3d0e93c.tar android_bootable_recovery-e5caa4095b8d250af3d11c6d910a4948f3d0e93c.tar.gz android_bootable_recovery-e5caa4095b8d250af3d11c6d910a4948f3d0e93c.tar.bz2 android_bootable_recovery-e5caa4095b8d250af3d11c6d910a4948f3d0e93c.tar.lz android_bootable_recovery-e5caa4095b8d250af3d11c6d910a4948f3d0e93c.tar.xz android_bootable_recovery-e5caa4095b8d250af3d11c6d910a4948f3d0e93c.tar.zst android_bootable_recovery-e5caa4095b8d250af3d11c6d910a4948f3d0e93c.zip |
Diffstat (limited to 'screen_ui.cpp')
-rw-r--r-- | screen_ui.cpp | 4 |
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; |