Add override specifier and member constness to RecoveryUI classes.
Test: mmma bootable/recovery
Change-Id: I66e328614423488a4027d7878f4569fbf3a3721e
diff --git a/wear_ui.h b/wear_ui.h
index e228f9f..e108d4d 100644
--- a/wear_ui.h
+++ b/wear_ui.h
@@ -47,12 +47,11 @@
// outer of window
int outer_height, outer_width;
- // Unusable rows when displaying the recovery menu, including the lines
- // for headers (Android Recovery, build id and etc) and the bottom lines
- // that may otherwise go out of the screen.
+ // Unusable rows when displaying the recovery menu, including the lines for headers (Android
+ // Recovery, build id and etc) and the bottom lines that may otherwise go out of the screen.
int menu_unusable_rows;
- int GetProgressBaseline() override;
+ int GetProgressBaseline() const override;
bool InitTextParams() override;