aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2018-01-20 15:16:38 +0100
committerDavide Garberi <dade.garberi@gmail.com>2018-01-20 15:16:38 +0100
commit4f75cebe0932c85e671c2951ae39d7127d203d2d (patch)
tree5e4227b138a93c3951ca9e4e0d7daff0049ccca0
parent13cfb04c5e910523bbf01f7ca0c1d51d001489cb (diff)
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 <dade.garberi@gmail.com>
-rw-r--r--sepolicy/file_contexts1
1 files changed, 1 insertions, 0 deletions
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