summaryrefslogtreecommitdiffstats
path: root/ui.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2009-09-17 15:38:28 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2009-09-17 15:38:28 +0200
commitb9ad6dfd81fdc2a25b3e3b9647912e74ca0cf47c (patch)
treec528b50253a0b8f572ea7603bb186a5a0e0242c8 /ui.c
parentam b5d542cd: am a3f89eab: add a run_program() function to edify (diff)
parentam 196c25c7: don\'t complain if recovery icon is short (diff)
downloadandroid_bootable_recovery-b9ad6dfd81fdc2a25b3e3b9647912e74ca0cf47c.tar
android_bootable_recovery-b9ad6dfd81fdc2a25b3e3b9647912e74ca0cf47c.tar.gz
android_bootable_recovery-b9ad6dfd81fdc2a25b3e3b9647912e74ca0cf47c.tar.bz2
android_bootable_recovery-b9ad6dfd81fdc2a25b3e3b9647912e74ca0cf47c.tar.lz
android_bootable_recovery-b9ad6dfd81fdc2a25b3e3b9647912e74ca0cf47c.tar.xz
android_bootable_recovery-b9ad6dfd81fdc2a25b3e3b9647912e74ca0cf47c.tar.zst
android_bootable_recovery-b9ad6dfd81fdc2a25b3e3b9647912e74ca0cf47c.zip
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index 0a8b985bb..51df1fa9f 100644
--- a/ui.c
+++ b/ui.c
@@ -339,7 +339,11 @@ void ui_init(void)
for (i = 0; BITMAPS[i].name != NULL; ++i) {
int result = res_create_surface(BITMAPS[i].name, BITMAPS[i].surface);
if (result < 0) {
- LOGE("Missing bitmap %s\n(Code %d)\n", BITMAPS[i].name, result);
+ if (result == -2) {
+ LOGI("Bitmap %s missing header\n", BITMAPS[i].name);
+ } else {
+ LOGE("Missing bitmap %s\n(Code %d)\n", BITMAPS[i].name, result);
+ }
*BITMAPS[i].surface = NULL;
}
}