diff options
author | Tao Bao <tbao@google.com> | 2017-01-03 12:25:37 -0800 |
---|---|---|
committer | Tao Bao <tbao@google.com> | 2017-01-03 12:27:37 -0800 |
commit | ed3c5b4dbbcea41308bbad8af757582a1801c9e4 (patch) | |
tree | 13994eb5ae9fdaafac96645369b64c0d35c2f919 | |
parent | 9bc91216def9787a055939a876df1405f46b6e6d (diff) | |
download | fugu-ed3c5b4dbbcea41308bbad8af757582a1801c9e4.tar.gz |
recovery: Track the API change to RecoveryUI::Init().
It now takes an additional locale parameter.
Bug: 34029338
Test: Run graphics test on fugu.
Change-Id: I320136107d207379591de9b82d177bdbf52373cf
-rw-r--r-- | recovery/recovery_ui.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/recovery/recovery_ui.cpp b/recovery/recovery_ui.cpp index 828f134..8df24c3 100644 --- a/recovery/recovery_ui.cpp +++ b/recovery/recovery_ui.cpp @@ -28,6 +28,8 @@ #include <time.h> #include <unistd.h> +#include <string> + #include "common.h" #include "device.h" #include "ui.h" @@ -40,9 +42,9 @@ class FuguUI : public ScreenRecoveryUI { public: - bool Init() override { + bool Init(const std::string& locale) override { SetupDisplayMode(); - return ScreenRecoveryUI::Init(); + return ScreenRecoveryUI::Init(locale); } void SetupDisplayMode() { |