matisse-common: add back time stuff
TimeKeep isn't good on Tab 4, then add time stuff here
This commit is contained in:
parent
32bc16a609
commit
16ed05c138
2 changed files with 11 additions and 0 deletions
|
@ -24,6 +24,10 @@
|
|||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
on post-fs-data
|
||||
# Create /data/time folder for time-services
|
||||
mkdir /data/time/ 0700 system system
|
||||
|
||||
on boot
|
||||
# Accelerometer_sensor
|
||||
chown system radio /sys/class/sensors/accelerometer_sensor/raw_data
|
||||
|
@ -62,3 +66,9 @@ on boot
|
|||
|
||||
on charger
|
||||
write /sys/class/leds/lcd-backlight/brightness 150
|
||||
|
||||
service time_daemon /vendor/bin/time_daemon
|
||||
capabilities SYS_TIME
|
||||
class late_start
|
||||
user system
|
||||
group net_raw
|
||||
|
|
1
sepolicy/common/time_daemon.te
Normal file
1
sepolicy/common/time_daemon.te
Normal file
|
@ -0,0 +1 @@
|
|||
allow time_daemon alarm_device:chr_file rw_file_perms;
|
Loading…
Reference in a new issue