OSDN Git Service

bootanimation: Don't open non-existing bootanimation.zip
authorJim Huang <jserv@0xlab.org>
Mon, 9 Aug 2010 19:12:15 +0000 (03:12 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 29 Oct 2010 07:45:16 +0000 (15:45 +0800)
commit4645ea68e7281552f9685dd17e16dbb39448a94b
treeed9b37019cbdbbda1877146e5845ebfcd77336fa
parenteaa2a678739ba480f7c097a25f690d002e84b378
bootanimation: Don't open non-existing bootanimation.zip

While booting from AOSP image, logcat always complains as following:
W/zipro   ( 1001): Unable to open zip '/data/local/bootanimation.zip':
No such file or directory
W/zipro   ( 1001): Unable to open zip '/system/media/bootanimation.zip':
No such file or directory

This patch avoids opening non-existing files.

Change-Id: I54cc03f125a5e16dbc930515bd2e43c623b63f8f
cmds/bootanimation/BootAnimation.cpp