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

Commit 79ff6697 authored by Robert Horvath's avatar Robert Horvath Committed by Android (Google) Code Review
Browse files

Merge "Conditionally show bootanimation for quiescent boots" into sc-dev

parents 2f8d1baa 8c878d61
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -49,7 +49,14 @@ bool bootAnimationDisabled() {
    }

    property_get("ro.boot.quiescent", value, "0");
    return atoi(value) > 0;
    if (atoi(value) > 0) {
        // Only show the bootanimation for quiescent boots if this system property is set to enabled
        if (!property_get_bool("ro.bootanim.quiescent.enabled", false)) {
            return true;
        }
    }

    return false;
}

void waitForSurfaceFlinger() {