aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrashant Malani2016-03-09 21:40:20 -0600
committerPrashant Malani2016-03-09 21:40:20 -0600
commitf7f9e50528761022989c4f0cac6a92716b54674f (patch)
tree8f428bb0debeb61b70cfbf5e9b43b58cf5935465 /screen_ui.h
parent1c7b2230d8aac9f064f68c48b6aa26aca000cc9d (diff)
downloadplatform-bootable-recovery-f7f9e50528761022989c4f0cac6a92716b54674f.tar.gz
platform-bootable-recovery-f7f9e50528761022989c4f0cac6a92716b54674f.tar.xz
platform-bootable-recovery-f7f9e50528761022989c4f0cac6a92716b54674f.zip
Revert "recovery: More refactoring of WearUI"
This reverts commit 1c7b2230d8aac9f064f68c48b6aa26aca000cc9d. This change can lead to the derived class indirectly (and incorrectly) calling some functions from the base class, which can lead to unpredictable behavior. Bug: 27407422 Change-Id: I126a7489b0787dc195e942e2ceea6769de20d70c
Diffstat (limited to 'screen_ui.h')
-rw-r--r--screen_ui.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/screen_ui.h b/screen_ui.h
index 386deac2..08a5f44a 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -68,6 +68,7 @@ class ScreenRecoveryUI : public RecoveryUI {
68 void SetColor(UIElement e); 68 void SetColor(UIElement e);
69 69
70 private: 70 private:
71 Icon currentIcon;
71 int installingFrame; 72 int installingFrame;
72 const char* locale; 73 const char* locale;
73 bool rtl_locale; 74 bool rtl_locale;
@@ -138,8 +139,6 @@ class ScreenRecoveryUI : public RecoveryUI {
138 void LoadBitmap(const char* filename, GRSurface** surface); 139 void LoadBitmap(const char* filename, GRSurface** surface);
139 void LoadBitmapArray(const char* filename, int* frames, int* fps, GRSurface*** surface); 140 void LoadBitmapArray(const char* filename, int* frames, int* fps, GRSurface*** surface);
140 void LoadLocalizedBitmap(const char* filename, GRSurface** surface); 141 void LoadLocalizedBitmap(const char* filename, GRSurface** surface);
141 protected:
142 Icon currentIcon;
143}; 142};
144 143
145#endif // RECOVERY_UI_H 144#endif // RECOVERY_UI_H