summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-07-15 01:29:10 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-07-15 01:29:10 +0000
commit6cb420f6219b3456677b23647c213eb6946ef780 (patch)
tree96c384fe0441f8185323dc6e2b8e5d8bb68f0928
parentbde66d28ba9238dd1bb94511c464889036485512 (diff)
parent5db0449a87481a9aeef898413d668cf48a38ddd3 (diff)
downloadcore-6cb420f6219b3456677b23647c213eb6946ef780.tar.gz
Snap for 8832598 from 5db0449a87481a9aeef898413d668cf48a38ddd3 to tm-qpr1-release
Change-Id: Iac9377aa4131278b0c9ec58220a7b799f537559b
-rw-r--r--rootdir/init.rc16
-rw-r--r--rootdir/init.zygote64_32.rc1
2 files changed, 12 insertions, 5 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index cd71aa8aa..870a97b55 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -823,7 +823,6 @@ on post-fs-data
mkdir /data/misc/odsign 0710 root system
# directory used for odsign metrics
mkdir /data/misc/odsign/metrics 0770 root system
-
# Directory for VirtualizationService temporary image files.
# Delete any stale files owned by the old virtualizationservice uid (b/230056726).
chmod 0770 /data/misc/virtualizationservice
@@ -1030,8 +1029,7 @@ on zygote-start && property:ro.crypto.state=unencrypted
exec_start update_verifier_nonencrypted
start statsd
start netd
- start zygote
- start zygote_secondary
+ trigger zygote-run
on zygote-start && property:ro.crypto.state=unsupported
wait_for_prop odsign.verification.done 1
@@ -1039,8 +1037,7 @@ on zygote-start && property:ro.crypto.state=unsupported
exec_start update_verifier_nonencrypted
start statsd
start netd
- start zygote
- start zygote_secondary
+ trigger zygote-run
on zygote-start && property:ro.crypto.state=encrypted && property:ro.crypto.type=file
wait_for_prop odsign.verification.done 1
@@ -1048,6 +1045,15 @@ on zygote-start && property:ro.crypto.state=encrypted && property:ro.crypto.type
exec_start update_verifier_nonencrypted
start statsd
start netd
+ trigger zygote-run
+
+on zygote-run && property:ro.zygote=zygote32
+ start zygote
+
+on zygote-run && property:ro.zygote=zygote64
+ start zygote
+
+on zygote-run && property:ro.zygote=zygote64_32
start zygote
start zygote_secondary
diff --git a/rootdir/init.zygote64_32.rc b/rootdir/init.zygote64_32.rc
index efb30d664..dfe16454c 100644
--- a/rootdir/init.zygote64_32.rc
+++ b/rootdir/init.zygote64_32.rc
@@ -25,3 +25,4 @@ service zygote_secondary /system/bin/app_process32 -Xzygote /system/bin --zygote
socket usap_pool_secondary stream 660 root system
onrestart restart zygote
task_profiles ProcessCapacityHigh MaxPerformance
+ disabled