Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e050efa authored by Marcos Marado's avatar Marcos Marado
Browse files

bootanimation: fix check for system bootanimation

We already check for the system bootanimation the proper way (using the
getAnimationFileName function), so we shouldn't have re-added the clause to
check it "the old way".

As it was, if there is a system bootanimation on the traditional path, an
alternative system bootanimation provided by getAnimationFileName would not be
used.

Change-Id: I73178d6b819c40e120c42fe10cb20afe171b8d4e
Bug-Id: PAELLA-112
(cherry picked from commit 5e5aaf9a)
parent 274d30fc
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -413,9 +413,6 @@ status_t BootAnimation::readyToRun() {
            ((access(OEM_BOOTANIMATION_FILE, R_OK) == 0) &&
            ((zipFile = ZipFileRO::open(OEM_BOOTANIMATION_FILE)) != NULL)) ||

            ((access(SYSTEM_BOOTANIMATION_FILE, R_OK) == 0) &&
            ((zipFile = ZipFileRO::open(SYSTEM_BOOTANIMATION_FILE)) != NULL)) ||

            ((access(getAnimationFileName(IMG_DATA), R_OK) == 0) &&
            ((zipFile = ZipFileRO::open(getAnimationFileName(IMG_DATA))) != NULL)) ||