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

Commit 2de33441 authored by Keun-young Park's avatar Keun-young Park
Browse files

Revert "Ensure update_verifier run before zygote"

This reverts commit 5dc05eff.

Change-Id: Ic041860dee8a2993c6b4890beca4da745cfbfb60
parent 5dc05eff
Loading
Loading
Loading
Loading
+8 −21
Original line number Original line Diff line number Diff line
@@ -495,25 +495,10 @@ on post-fs-data
    # Set indication (checked by vold) that we have finished this action
    # Set indication (checked by vold) that we have finished this action
    #setprop vold.post_fs_data_done 1
    #setprop vold.post_fs_data_done 1


# It is recommended to put unnecessary data/ initialization from post-fs-data
# This trigger will be triggered before 'zygote-start' since there is no zygote-start defined in
# to start-zygote in device's init.rc to unblock zygote start.
# current init.rc. It is recommended to put unnecessary data/ initialization from post-fs-data
on zygote-start && property:ro.crypto.state=unencrypted
# to start-zygote to unblock zygote start.
    # A/B update verifier that marks a successful boot.
    exec_start update_verifier_nonencrypted
    start netd
    start zygote
    start zygote_secondary

on zygote-start && property:ro.crypto.state=unsupported
    # A/B update verifier that marks a successful boot.
    exec_start update_verifier_nonencrypted
    start netd
    start zygote
    start zygote_secondary

on zygote-start && property:ro.crypto.state=encrypted && property:ro.crypto.type=file
on zygote-start && property:ro.crypto.state=encrypted && property:ro.crypto.type=file
    # A/B update verifier that marks a successful boot.
    exec_start update_verifier_nonencrypted
   start netd
   start netd
   start zygote
   start zygote
   start zygote_secondary
   start zygote_secondary
@@ -615,6 +600,8 @@ on boot
    class_start core
    class_start core


on nonencrypted
on nonencrypted
    # A/B update verifier that marks a successful boot.
    exec_start update_verifier_nonencrypted
    class_start main
    class_start main
    class_start late_start
    class_start late_start