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

Commit 757b0507 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 main am: 1de56955

parents d87779d3 1de56955
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -691,7 +691,7 @@ void BootAnimation::resizeSurface(int newWidth, int newHeight) {

bool BootAnimation::preloadAnimation() {
    findBootAnimationFile();
    if (!mZipFileName.isEmpty()) {
    if (!mZipFileName.empty()) {
        mAnimation = loadAnimation(mZipFileName);
        return (mAnimation != nullptr);
    }
@@ -821,7 +821,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 {