From c2de7a7e878f7926cfea7efa71cab1613f95dc33 Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Fri, 14 Aug 2015 13:01:13 -0700 Subject: [PATCH] bundle init.rc contents with its service Bug: 23186545 Change-Id: I080e73d6a124873c2ddd0fba85315d7082faf3f5 --- cmds/bootanimation/Android.mk | 2 ++ cmds/bootanimation/bootanim.rc | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 cmds/bootanimation/bootanim.rc diff --git a/cmds/bootanimation/Android.mk b/cmds/bootanimation/Android.mk index 2ee586f2c3ca7..7c8842ca02316 100644 --- a/cmds/bootanimation/Android.mk +++ b/cmds/bootanimation/Android.mk @@ -27,6 +27,8 @@ LOCAL_SHARED_LIBRARIES := \ LOCAL_MODULE:= bootanimation +LOCAL_INIT_RC := bootanim.rc + ifdef TARGET_32_BIT_SURFACEFLINGER LOCAL_32_BIT_ONLY := true endif diff --git a/cmds/bootanimation/bootanim.rc b/cmds/bootanimation/bootanim.rc new file mode 100644 index 0000000000000..ee0d0b8c042f1 --- /dev/null +++ b/cmds/bootanimation/bootanim.rc @@ -0,0 +1,6 @@ +service bootanim /system/bin/bootanimation + class core + user graphics + group graphics audio + disabled + oneshot