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

This commit is contained in:
Robert Horvath
2021-04-26 10:59:51 +00:00
committed by Android (Google) Code Review

View File

@@ -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() {