msm8937-common: time_daemon: use /persist to store offset to RTC
Also cleanup sepolicy files that was using /data/vendor as they are not needed and /data is not ready by the time we start time_daemon Bug: 62184939 Test: walleye boot with correct time in airplane mode
This commit is contained in:
parent
8f03601238
commit
3634a47c7b
2 changed files with 2 additions and 3 deletions
2
product/timeservices.mk
Normal file
2
product/timeservices.mk
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
|
persist.delta_time.enable=true
|
|
@ -221,9 +221,6 @@ on post-fs-data
|
||||||
mkdir /data/shared 0755
|
mkdir /data/shared 0755
|
||||||
chown system system /data/shared
|
chown system system /data/shared
|
||||||
|
|
||||||
# Create /data/time folder for time-services
|
|
||||||
mkdir /data/time/ 0700 system system
|
|
||||||
|
|
||||||
mkdir /data/vendor/audio/ 0770 media audio
|
mkdir /data/vendor/audio/ 0770 media audio
|
||||||
|
|
||||||
# Create a folder for audio delta files
|
# Create a folder for audio delta files
|
||||||
|
|
Loading…
Reference in a new issue