summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2010-10-14 11:19:28 -0700
committerNick Pelly <npelly@google.com>2010-10-15 02:14:49 -0700
commit13d8819d9d716c8f0ba03288d058f0bd462d70a7 (patch)
tree7118934c4c12f65bc98074256470e3f2b18550bb /Android.mk
parentf067256d9556b1e01143f9ae2fd824fa5dc03138 (diff)
downloadpackages_apps_nfc-13d8819d9d716c8f0ba03288d058f0bd462d70a7.zip
packages_apps_nfc-13d8819d9d716c8f0ba03288d058f0bd462d70a7.tar.gz
packages_apps_nfc-13d8819d9d716c8f0ba03288d058f0bd462d70a7.tar.bz2
Enable NFC service as an application service.
Uses ServiceManager.addService() to register the service. Uses BOOT_COMPLETE to start the service. Uses sharedUserId com.android.nfc so that it has a fixed uid. Uses android:persistant so that the process is not killed. Change-Id: If4264baf5dc457ee0a3ad5788c5945e84173b1ea Signed-off-by: Nick Pelly <npelly@google.com>
Diffstat (limited to 'Android.mk')
-rwxr-xr-xAndroid.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100755
index 0000000..baa6cb7
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,15 @@
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_MODULE_TAGS := optional
+
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
+
+LOCAL_PACKAGE_NAME := Nfc
+LOCAL_CERTIFICATE := platform
+
+LOCAL_JNI_SHARED_LIBRARIES := libnfc_jni
+
+include $(BUILD_PACKAGE)
+
+include $(call all-makefiles-under,$(LOCAL_PATH))