From 0128162aeb34310a35f3dfa9fe6e59e762d03c0d Mon Sep 17 00:00:00 2001 From: Jinhao Zhang Date: Tue, 16 Apr 2024 18:07:23 +0800 Subject: [PATCH] vendor: init: Don't launch qcomsysd process in USER Build Change-Id: If3ee20753e490bccf40db3efa23a97a9187cfd51 Signed-off-by: chrisl7 --- vendor/init/init.qcom.rc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vendor/init/init.qcom.rc b/vendor/init/init.qcom.rc index 2b3f4a46..8b93e65c 100644 --- a/vendor/init/init.qcom.rc +++ b/vendor/init/init.qcom.rc @@ -440,7 +440,11 @@ service qcomsysd /system/vendor/bin/qcom-system-daemon group root diag oem_2901 disabled -on property:persist.vendor.qcomsysd.enabled=1 +# Don't launch qcomsysd process in USER BUILD +on property:persist.vendor.qcomsysd.enabled=1 && property:ro.build.type=userdebug + enable qcomsysd + +on property:persist.vendor.qcomsysd.enabled=1 && property:ro.build.type=eng enable qcomsysd on property:persist.vendor.qcomsysd.enabled=0