summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Tom Cherry <tomcherry@google.com> 2015-08-21 18:32:07 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2015-08-21 18:32:07 +0000
commitbbb74906be86784d49fee3be3670011f17792888 (patch)
treea4f992da3b6027150163260aedf952d634afc7d3
parent999da7464aaff25e819498a86819407084acad7c (diff)
parentfe0fcf5cad75c6ba717a3d0a4ddb7c6bc656135d (diff)
am fe0fcf5c: am b9ac485a: am 49948146: Merge "bundle init.rc contents with its service"
* commit 'fe0fcf5cad75c6ba717a3d0a4ddb7c6bc656135d': 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