Skip to content
Snippets Groups Projects
Commit fa14d21c authored by Wei Wang's avatar Wei Wang Committed by Tom Cherry
Browse files

Move zygote start after loading persist properties

Currently zygote is started before loading persistent properties which
stops ART honor experiment flags planned landed as persistent
properties.

The original motivation is we would like zygote be started as early as
possible and loading persistent properties taking time, but after fix of
b/64392887 loading persist properties is now only taking 3ms on P18, 6ms
on P16 respectively.

Bug: 114044733
Test: Boot
Change-Id: Ibc118966e975c741ee8ea47091b14d691692bf2c
parent 484f72ab
Branches
Tags
No related merge requests found
......@@ -306,12 +306,12 @@ on late-init
# /data, which in turn can only be loaded when system properties are present.
trigger post-fs-data
# Now we can start zygote for devices with file based encryption
trigger zygote-start
# Load persist properties and override properties (if enabled) from /data.
trigger load_persist_props_action
# Now we can start zygote for devices with file based encryption
trigger zygote-start
# Remove a file to wake up anything waiting for firmware.
trigger firmware_mounts_complete
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment