From e99db13236bc8ac3471fcb22e81178fc423679eb Mon Sep 17 00:00:00 2001 From: Arian Date: Tue, 6 Apr 2021 19:29:03 +0200 Subject: shinano-common: rootdir: Introduce a service to start suntrold * suntrold is a oneshot service and spawns a subprocess which is required for the rear camera. Since [1] oneshot services' process groups are killed which prevents suntrold from working correctly. * To work this issue around create a non-oneshot service, suntrold.sh, which never exits, so that suntrold can be started from it and it's subprocesses will not be killed. [1] https://github.com/aosp-mirror/platform_system_core/commit/d89ed132a0ee1a57046286b83e64a35b71774952 [Idea of this is from LuK1337] Co-authored-by: LuK1337 Change-Id: Id9c4f56648168f0ffe19b2bb31c591750afe6f97 --- shinano.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shinano.mk') diff --git a/shinano.mk b/shinano.mk index 204be18..9cf9980 100644 --- a/shinano.mk +++ b/shinano.mk @@ -137,7 +137,8 @@ PRODUCT_PACKAGES += \ ueventd.qcom.rc PRODUCT_PACKAGES += \ - credmgrfirstboot.sh + credmgrfirstboot.sh \ + suntrold.sh # Include BCM Wifi $(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/config/config-bcm.mk) -- cgit v1.2.3