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

Commit f8763565 authored by Isaac Lee's avatar Isaac Lee Committed by Hung-ying Tyan
Browse files

Show bootanimation after decrypt

Because the original modification (restart SF which is added
for display bootanimation) from O to P causes bootanimation NPE,
 we remove the part of restart SF and add other flow to show
 bootanimation.

Test: manual, ran the test 10 times and it cause no NPE and
      display BootAnimation after decrypt
Test: boot aosp_sailfish

Bug: 79547653
Change-Id: I355ccdbb2e2f27d897e2e0ee00f9300ef38ede03
(cherry picked from commit f32c2017)
parent 0fac9018
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -705,12 +705,12 @@ on property:vold.decrypt=trigger_restart_min_framework
    class_start main

on property:vold.decrypt=trigger_restart_framework
    stop surfaceflinger
    start surfaceflinger
    # A/B update verifier that marks a successful boot.
    exec_start update_verifier
    class_start main
    class_start late_start
    setprop service.bootanim.exit 0
    start bootanim

on property:vold.decrypt=trigger_shutdown_framework
    class_reset late_start