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:
Wei Wang 2017-06-30 09:49:45 -07:00 committed by Isaac Chen
parent 8f03601238
commit 3634a47c7b
2 changed files with 2 additions and 3 deletions

2
product/timeservices.mk Normal file
View file

@ -0,0 +1,2 @@
PRODUCT_PROPERTY_OVERRIDES += \
persist.delta_time.enable=true

View file

@ -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