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)
committerJim Huang <jserv@0xlab.org>
Mon, 9 Aug 2010 19:12:15 +0000 (03:12 +0800)
commitc11f46259a1e8f4e7e58925aefd1ed9eaf57a7fc
tree54c99680c61b4e33b05d3278882f84bdf27da892
parent0f0dd448ea54ddb760ed77e7d9167b7d7ad1b916
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