summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Diewald <Diewi@diewald-net.com>2017-05-30 11:13:36 +0200
committerArian <arian.kulmer@web.de>2019-10-07 11:07:17 +0200
commit998044b58800d72f72ca91a2197de6221529d76e (patch)
tree4ff2b5f5725b4316f8d51c3f3534211c4d726798
parenta693a856a539730188ec320f8cc526607ea7fca7 (diff)
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 <Diewi@diewald-net.com>
-rw-r--r--lineage.dependencies4
-rw-r--r--rootdir/init.qcom.rc15
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