From 998044b58800d72f72ca91a2197de6221529d76e Mon Sep 17 00:00:00 2001 From: Alexander Diewald Date: Tue, 30 May 2017 11:13:36 +0200 Subject: shinano: Add Timekeep. Adds the init lines required to launch timekeep. They will be moved to msm8974-common in future along with other qcom/msm8974-specific init statements. Change-Id: If21402553dbeaf77e40885dae58e9f376fe85798 Signed-off-by: Alexander Diewald --- lineage.dependencies | 4 ++++ rootdir/init.qcom.rc | 15 ++++++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/lineage.dependencies b/lineage.dependencies index 5f6eec7..4b24bf5 100644 --- a/lineage.dependencies +++ b/lineage.dependencies @@ -10,5 +10,9 @@ { "repository": "android_hardware_broadcom_fm", "target_path": "hardware/broadcom/fm" + }, + { + "repository": "android_hardware_sony_timekeep", + "target_path": "hardware/sony/timekeep" } ] diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index 115be43..0bc4a3f 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -148,6 +148,9 @@ on boot # Send single UNSOL_CALL_RING notification setprop ro.telephony.call_ring.multiple false + + # Create folder for timekeep + mkdir /data/time/ 0700 system system # port-bridge chmod 0660 /dev/smd0 @@ -494,11 +497,6 @@ service qcom-sensor-sh /system/bin/sh /system/etc/init.qcom-sensor.sh user root oneshot -service time_daemon /system/bin/time_daemon - class late_start - user root - group root - # HexagonDSP FastRPC daemon service adsprpcd /system/bin/adsprpcd class main @@ -552,3 +550,10 @@ service mpdecision /system/bin/mpdecision --avg_comp user root group bluetooth net_bt seclabel u:r:uim:s0 + +# OSS time +service timekeep /system/bin/timekeep restore + class late_start + user root + group root + oneshot -- cgit v1.2.3