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

Commit 94faa189 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Migrate from android::String isEmpty to empty [bootanimation]" into...

Merge "Migrate from android::String isEmpty to empty [bootanimation]" into main am: 1de56955 am: 757b0507

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2725975



Change-Id: Id484fc0a654d54c8952606048bde03fdb7544372
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 331c2ad9 757b0507
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -706,7 +706,7 @@ void BootAnimation::resizeSurface(int newWidth, int newHeight) {

bool BootAnimation::preloadAnimation() {
    findBootAnimationFile();
    if (!mZipFileName.isEmpty()) {
    if (!mZipFileName.empty()) {
        mAnimation = loadAnimation(mZipFileName);
        return (mAnimation != nullptr);
    }
@@ -819,7 +819,7 @@ bool BootAnimation::threadLoop() {

    // We have no bootanimation file, so we use the stock android logo
    // animation.
    if (mZipFileName.isEmpty()) {
    if (mZipFileName.empty()) {
        ALOGD("No animation file");
        result = android();
    } else {