diff options
| author | Alin Jerpelea <alin.jerpelea@sony.com> | 2018-01-04 22:27:38 +0100 |
|---|---|---|
| committer | Alin Jerpelea <alin.jerpelea@sony.com> | 2018-01-09 10:16:35 +0100 |
| commit | aa06ae67cd5736cfcbf1bfb2af939c06ec924894 (patch) | |
| tree | 019d19fd857a9380808fb3ef85468fca0315155a | |
| parent | 193d39a2411eb336717595b580a45a50f9a6d62d (diff) | |
add timekeep.rc
the init script is used by Android 8 and later
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
| -rw-r--r-- | Android.mk | 1 | ||||
| -rw-r--r-- | vendor/etc/init/timekeep.rc | 7 |
2 files changed, 8 insertions, 0 deletions
@@ -7,6 +7,7 @@ LOCAL_SHARED_LIBRARIES := libcutils liblog LOCAL_MODULE_TAGS := optional ifeq (1,$(filter 1,$(shell echo "$$(( $(PLATFORM_SDK_VERSION) >= 25 ))" ))) LOCAL_MODULE_OWNER := sony +LOCAL_INIT_RC_64 := vendor/etc/init/timekeep.rc LOCAL_PROPRIETARY_MODULE := true endif include $(BUILD_EXECUTABLE) diff --git a/vendor/etc/init/timekeep.rc b/vendor/etc/init/timekeep.rc new file mode 100644 index 0000000..4e8f539 --- /dev/null +++ b/vendor/etc/init/timekeep.rc @@ -0,0 +1,7 @@ +# Time service +service timekeep /vendor/bin/timekeep restore + class late_start + user root + group root system + oneshot + writepid /dev/cpuset/system-background/tasks |
