diff options
author | Doug Zongker <dougz@android.com> | 2011-10-28 15:13:10 -0700 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2011-10-31 14:15:02 -0700 |
commit | 211aebc4e09ce7ca37003be4f01c83111cf0bb49 (patch) | |
tree | 395aa8bc2d1d0412a52d42a3bb2d75a54f96685c /Android.mk | |
parent | 0890a0ce8ecc47afb1f892dcd770e8dc519add14 (diff) | |
download | bootable_recovery-211aebc4e09ce7ca37003be4f01c83111cf0bb49.zip bootable_recovery-211aebc4e09ce7ca37003be4f01c83111cf0bb49.tar.gz bootable_recovery-211aebc4e09ce7ca37003be4f01c83111cf0bb49.tar.bz2 |
refactor ui functions into a class
Move all the functions in ui.c to be members of a ScreenRecoveryUI
class, which is a subclass of an abstract RecoveryUI class. Recovery
then creates a global singleton instance of this class and then invoke
the methods to drive the UI. We use this to allow substitution of a
different RecoveryUI implementation for devices with radically
different form factors (eg, that don't have a screen).
Change-Id: I76bdd34eca506149f4cc07685df6a4890473f3d9
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ LOCAL_SRC_FILES := \ bootloader.cpp \ install.cpp \ roots.cpp \ - ui.cpp \ + screen_ui.cpp \ verifier.cpp LOCAL_MODULE := recovery |