From 4f75cebe0932c85e671c2951ae39d7127d203d2d Mon Sep 17 00:00:00 2001 From: Davide Garberi Date: Sat, 20 Jan 2018 15:16:38 +0100 Subject: msm8996-common: sepolicy: Relabel time_data_file * After https://review.lineageos.org/c/199554/ the timeservice just doesn't do its work for us (even if that patch should make it work with both data/time and data/vendor/time) and the time at boot is wrong * This commit fixes the wrong time when the phone is booted without connection Signed-off-by: Davide Garberi --- sepolicy/file_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 6787fb2..ad12850 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -23,6 +23,7 @@ /system/bin/time_daemon u:object_r:time_daemon_exec:s0 /system/bin/cnss-daemon u:object_r:wcnss_service_exec:s0 /system/bin/wcnss_filter u:object_r:wcnss_filter_exec:s0 +/data/time(/.*)? u:object_r:time_data_file:s0 # persist /dev/block/mmcblk0p40 u:object_r:persist_block_device:s0 -- cgit v1.2.3