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

Commit b0fdfe70 authored by Dominik Laskowski's avatar Dominik Laskowski
Browse files

SF: Add property to skip boot animation

Bug: 324366212
Test: setprop debug.sf.boot_animation false
Change-Id: I8e0076d35566a0d7326dd1e8fe7b5d58bafad67a
parent efb131e3
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -950,11 +950,13 @@ void SurfaceFlinger::init() FTL_FAKE_GUARD(kMainThreadContext) {
void SurfaceFlinger::initBootProperties() {
    property_set("service.sf.present_timestamp", mHasReliablePresentFences ? "1" : "0");

    if (base::GetBoolProperty("debug.sf.boot_animation"s, true)) {
        // Reset and (if needed) start BootAnimation.
        property_set("service.bootanim.exit", "0");
        property_set("service.bootanim.progress", "0");
        property_set("ctl.start", "bootanim");
    }
}

void SurfaceFlinger::initTransactionTraceWriter() {
    if (!mTransactionTracing) {