diff options
author | Mohit Aggarwal <maggarwa@codeaurora.org> | 2019-03-22 14:07:22 +0530 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-04-30 00:48:53 +0300 |
commit | c7d6aae5e3d49bf72eab68b167dc3488a5a2ebc3 (patch) | |
tree | b8ec098c2ce332594f7e677d13e4b4f68c09f115 | |
parent | 68a7f85e25c10807decc271baeb6a8df73da68d6 (diff) |
sdm660-common: Change uid/gid of time_daemon
Squashed of the following 2 commits:
time-services: Remove time_daemon rc definition
Now time_daemon service will start from local rc file
so patch removes rc definition from init.qcom.rc file.
Change-Id: Ia18ffa726c9c7ad6be5193219438b2266c15ae13
time-services: Start time_daemon service from common rc
Currently, time_daemon service is running after statsd
service which is causing some xTS failure. The patch
moves time_daemon service definition to common rc file
so that daemon can start early.
Change-Id: I7ff7a7a3b7ac5077a95157c1785bfb844b92d7dd
Change-Id: I4b46501099fb0e82109b3cabf8440fa0490d507b
-rwxr-xr-x | rootdir/etc/init.target.rc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc index 0a3d228..4f2ebed 100755 --- a/rootdir/etc/init.target.rc +++ b/rootdir/etc/init.target.rc @@ -184,10 +184,11 @@ service thermal-engine /system/vendor/bin/thermal-engine # class core # oneshot # -service time_daemon /system/vendor/bin/time_daemon - class late_start - user root - group root +service time_daemon /vendor/bin/time_daemon + class main + user system + group system + capabilities SYS_TIME service adsprpcd_root /vendor/bin/adsprpcd class main |