diff options
author | Doug Zongker <dougz@android.com> | 2009-09-15 22:46:00 +0200 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2009-09-15 22:46:00 +0200 |
commit | 2f4fc56183f3fe2edb5e3cd5e12329871e02518f (patch) | |
tree | c528b50253a0b8f572ea7603bb186a5a0e0242c8 | |
parent | am a3f89eab: add a run_program() function to edify (diff) | |
parent | don't complain if recovery icon is short (diff) | |
download | android_bootable_recovery-2f4fc56183f3fe2edb5e3cd5e12329871e02518f.tar android_bootable_recovery-2f4fc56183f3fe2edb5e3cd5e12329871e02518f.tar.gz android_bootable_recovery-2f4fc56183f3fe2edb5e3cd5e12329871e02518f.tar.bz2 android_bootable_recovery-2f4fc56183f3fe2edb5e3cd5e12329871e02518f.tar.lz android_bootable_recovery-2f4fc56183f3fe2edb5e3cd5e12329871e02518f.tar.xz android_bootable_recovery-2f4fc56183f3fe2edb5e3cd5e12329871e02518f.tar.zst android_bootable_recovery-2f4fc56183f3fe2edb5e3cd5e12329871e02518f.zip |
-rw-r--r-- | ui.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; } } |