diff options
author | Doug Zongker <dougz@android.com> | 2009-09-15 17:50:04 +0200 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2009-09-15 17:50:04 +0200 |
commit | 196c25c777daedbe2fe5a45171fb42e43ceed9af (patch) | |
tree | 3268e330b99b674b3cb4d8a8d03cb41035281953 | |
parent | add a run_program() function to edify (diff) | |
download | android_bootable_recovery-196c25c777daedbe2fe5a45171fb42e43ceed9af.tar android_bootable_recovery-196c25c777daedbe2fe5a45171fb42e43ceed9af.tar.gz android_bootable_recovery-196c25c777daedbe2fe5a45171fb42e43ceed9af.tar.bz2 android_bootable_recovery-196c25c777daedbe2fe5a45171fb42e43ceed9af.tar.lz android_bootable_recovery-196c25c777daedbe2fe5a45171fb42e43ceed9af.tar.xz android_bootable_recovery-196c25c777daedbe2fe5a45171fb42e43ceed9af.tar.zst android_bootable_recovery-196c25c777daedbe2fe5a45171fb42e43ceed9af.zip |
Diffstat (limited to '')
-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; } } |