Skip to content

Commit cd1f3a5

Browse files
Paz ZcharyaAndroid (Google) Code Review
authored andcommitted
Merge "SF: Merge properties that skip boot animation" into main
2 parents 075f263 + 9bc2519 commit cd1f3a5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

services/surfaceflinger/SurfaceFlinger.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,8 @@ void SurfaceFlinger::init() FTL_FAKE_GUARD(kMainThreadContext) {
10701070
void SurfaceFlinger::initBootProperties() {
10711071
property_set("service.sf.present_timestamp", mHasReliablePresentFences ? "1" : "0");
10721072

1073-
if (base::GetBoolProperty("debug.sf.boot_animation"s, true)) {
1073+
if (base::GetBoolProperty("debug.sf.boot_animation"s, true) &&
1074+
(base::GetIntProperty("debug.sf.nobootanimation"s, 0) == 0)) {
10741075
// Reset and (if needed) start BootAnimation.
10751076
property_set("service.bootanim.exit", "0");
10761077
property_set("service.bootanim.progress", "0");

0 commit comments

Comments
 (0)