From ed3c5b4dbbcea41308bbad8af757582a1801c9e4 Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Tue, 3 Jan 2017 12:25:37 -0800 Subject: 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 --- recovery/recovery_ui.cpp | 6 ++++-- 1 file 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 #include +#include + #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() { -- cgit v1.2.3