mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_miatoll.git
synced 2025-08-04 07:26:32 +09:00
* time_daemon just refuses to work properly on mata. Sony's TimeKeep, instead, does the job flawlessly, so just ditch the former in favor of the latter. Signed-off-by: Roberto Sartori <roberto.sartori.android@gmail.com> Change-Id: I54f50ed3d49efc2834d478781b15e6ee428a3062
14 lines
347 B
Plaintext
14 lines
347 B
Plaintext
type timekeep, domain;
|
|
type timekeep_exec, exec_type, vendor_file_type, file_type;
|
|
|
|
init_daemon_domain(timekeep)
|
|
|
|
allow timekeep self:capability sys_time;
|
|
|
|
allow timekeep vendor_time_data_file:dir rw_dir_perms;
|
|
allow timekeep vendor_time_data_file:file create_file_perms;
|
|
|
|
r_dir_file(timekeep, sysfs_rtc)
|
|
|
|
set_prop(timekeep, vendor_timekeep_prop)
|