From 6809c51f8db86f1ab00a076cf570439d11920d3a Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Tue, 1 Mar 2011 14:04:34 -0800 Subject: make recovery UI images more general; allow for installation animation Change some of the UI parameters (# of indeterminate progress bar frames, fps, etc.) from #defined constants to variables that can be set by the device-specific recovery_ui code (via a new function). Support overlaying different images on top of the base installation icon to animate it. Make the FPS control more accurate. Change-Id: I9268b389b7ea6b3ed9e0c7eae37baf4272e60edd --- default_recovery_ui.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'default_recovery_ui.c') diff --git a/default_recovery_ui.c b/default_recovery_ui.c index bcba88826..7c4017e7e 100644 --- a/default_recovery_ui.c +++ b/default_recovery_ui.c @@ -29,6 +29,9 @@ char* MENU_ITEMS[] = { "reboot system now", "wipe cache partition", NULL }; +void device_ui_init(UIParameters* ui_parameters) { +} + int device_recovery_start() { return 0; } -- cgit v1.2.3