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

Commit c755e5ed authored by Roman Kiryanov's avatar Roman Kiryanov
Browse files

Populate `ro.boot.debug.sf.nobootanimation` from `android.bootanim`



emulator passes `android.bootanim=0` in the kernel
command line to disable boot animation.

Bug: 182336906
Test: boot emulator with -np-boot-anim
Signed-off-by: default avatarRoman Kiryanov <rkir@google.com>
Change-Id: Id89a6c92dd4724cac414ffbf8ee731b2bfcc7195
parent 0cf8af68
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1200,6 +1200,10 @@ static void ProcessKernelCmdline() {
            // emulator specific, should be retired once emulator migrates to
            // androidboot.
            InitPropertySet("ro.boot." + key, value);
        } else if (key == "android.bootanim" && value == "0") {
            // emulator specific, should be retired once emulator migrates to
            // androidboot.
            InitPropertySet("ro.boot.debug.sf.nobootanimation", "1");
        }
    });
}