diff options
author | Nick Kralevich <nnk@google.com> | 2013-12-16 10:36:39 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-12-16 10:36:39 -0800 |
commit | 09fdc159552c85032ce9860fc0d63b6eebeca82a (patch) | |
tree | 1f4926998feab8a79f3676fea0c4d8ebf34085d3 /cmds | |
parent | 1e609ac45df13fed93df81e805ea6d6485da3aa0 (diff) | |
parent | 3ddee4dec9b7ae2265c356f5809eae73e1ef8796 (diff) | |
download | frameworks_base-09fdc159552c85032ce9860fc0d63b6eebeca82a.zip frameworks_base-09fdc159552c85032ce9860fc0d63b6eebeca82a.tar.gz frameworks_base-09fdc159552c85032ce9860fc0d63b6eebeca82a.tar.bz2 |
am 3ddee4de: Merge "[bootanimation] Drop user loadable bootanimation.zip abiltiy."
* commit '3ddee4dec9b7ae2265c356f5809eae73e1ef8796':
[bootanimation] Drop user loadable bootanimation.zip abiltiy.
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/bootanimation/BootAnimation.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index 5c265ab..1a2ab81 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp @@ -52,7 +52,6 @@ #include "BootAnimation.h" -#define USER_BOOTANIMATION_FILE "/data/local/bootanimation.zip" #define SYSTEM_BOOTANIMATION_FILE "/system/media/bootanimation.zip" #define SYSTEM_ENCRYPTED_BOOTANIMATION_FILE "/system/media/bootanimation-encrypted.zip" #define EXIT_PROP_NAME "service.bootanim.exit" @@ -285,9 +284,6 @@ status_t BootAnimation::readyToRun() { (access(SYSTEM_ENCRYPTED_BOOTANIMATION_FILE, R_OK) == 0) && ((zipFile = ZipFileRO::open(SYSTEM_ENCRYPTED_BOOTANIMATION_FILE)) != NULL)) || - ((access(USER_BOOTANIMATION_FILE, R_OK) == 0) && - ((zipFile = ZipFileRO::open(USER_BOOTANIMATION_FILE)) != NULL)) || - ((access(SYSTEM_BOOTANIMATION_FILE, R_OK) == 0) && ((zipFile = ZipFileRO::open(SYSTEM_BOOTANIMATION_FILE)) != NULL))) { mZip = zipFile; |