From 7d9fd96dc99a6008979811e36bb06f3afad18508 Mon Sep 17 00:00:00 2001 From: Prashant Malani Date: Tue, 8 Mar 2016 13:18:45 -0800 Subject: recovery: Begin refactor of WearUI to use ScreenRecoveryUI This is the first of a series of changes which move WearUI to subclass ScreenRecoveryUI, to take advantage of several functions which are common between the two recovery UI implementations, and already defined in ScreenRecoveryUI. This patch changes the base class of WearUI, removes redundant header includes, and also removes a common function. Bug: 27407422 Change-Id: I8fd90826900f69272a82e23bd099790e8004d511 --- wear_ui.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'wear_ui.h') diff --git a/wear_ui.h b/wear_ui.h index 768141ccc..35ea51660 100644 --- a/wear_ui.h +++ b/wear_ui.h @@ -17,19 +17,13 @@ #ifndef RECOVERY_WEAR_UI_H #define RECOVERY_WEAR_UI_H -#include -#include +#include "screen_ui.h" -#include "ui.h" -#include "minui/minui.h" - -class WearRecoveryUI : public RecoveryUI { +class WearRecoveryUI : public ScreenRecoveryUI { public: WearRecoveryUI(); void Init(); - void SetLocale(const char* locale); - // overall recovery state ("background image") void SetBackground(Icon icon); -- cgit v1.2.3