summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Tom Cherry <tomcherry@google.com> 2015-08-21 17:42:30 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-08-21 17:42:30 +0000
commit49948146dc7449bd9caaae283413ec76633ec021 (patch)
tree16933341a876eb46400af10c8c193521569f3c12
parent5923d161d0680a5ea107fa4104b0a6867237ba4a (diff)
parentc2de7a7e878f7926cfea7efa71cab1613f95dc33 (diff)
Merge "bundle init.rc contents with its service"
-rw-r--r--cmds/bootanimation/Android.mk2
-rw-r--r--cmds/bootanimation/bootanim.rc6
2 files changed, 8 insertions, 0 deletions
diff --git a/cmds/bootanimation/Android.mk b/cmds/bootanimation/Android.mk
index 2ee586f2c3ca..7c8842ca0231 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 000000000000..ee0d0b8c042f
--- /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