From 2dea53ef2b96fe09083d9cad42b5f07b6ad83ab5 Mon Sep 17 00:00:00 2001 From: Jerry Zhang Date: Wed, 2 May 2018 17:15:03 -0700 Subject: recovery: Get UI and locale from device. This removes some reliance on the global locale and ui variables. Test: Recovery works Bug: 78793464 Change-Id: I78f1a2b321f5d50aa58b10735a73ae137283353a --- stub_ui.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'stub_ui.h') diff --git a/stub_ui.h b/stub_ui.h index 2ccd49115..fddf4e71e 100644 --- a/stub_ui.h +++ b/stub_ui.h @@ -28,6 +28,9 @@ class StubRecoveryUI : public RecoveryUI { public: StubRecoveryUI() = default; + std::string GetLocale() override { + return ""; + } void SetBackground(Icon /* icon */) override {} void SetSystemUpdateText(bool /* security_update */) override {} -- cgit v1.2.3