commit | 7440630caa77869e7d264dfb9da47db2182524a2 | [log] [tgz] |
---|---|---|
author | Doug Zongker <dougz@android.com> | Fri Oct 28 15:13:10 2011 -0700 |
committer | Doug Zongker <dougz@android.com> | Fri Oct 28 15:13:10 2011 -0700 |
tree | 395aa8bc2d1d0412a52d42a3bb2d75a54f96685c | |
parent | 10e418d3c89ec404fbf959c1ef77a720a42a66ed [diff] |
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: I7fd8b2949d0db5a3f47c52978bca183966c86f33