summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2012-06-24 11:31:23 -0700
committerTor Norbye <tnorbye@google.com>2012-06-24 11:33:29 -0700
commitf7133c55e5fe0df25be66e10d22ea6ed981ad7e4 (patch)
treeb679350482a962b7a4de9080b21feb1cdc800c9e /templates
parent84354bac6f41b89e1094a529a12dc6a2c5330a4e (diff)
downloadreplicant_sdk-f7133c55e5fe0df25be66e10d22ea6ed981ad7e4.zip
replicant_sdk-f7133c55e5fe0df25be66e10d22ea6ed981ad7e4.tar.gz
replicant_sdk-f7133c55e5fe0df25be66e10d22ea6ed981ad7e4.tar.bz2
Fix bug in BroadcastReceiver template
Change-Id: Ic7ff88331557e23aa9effef6532bb9d86a848a34
Diffstat (limited to 'templates')
-rw-r--r--templates/other/BroadcastReceiver/root/AndroidManifest.xml.ftl8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/other/BroadcastReceiver/root/AndroidManifest.xml.ftl b/templates/other/BroadcastReceiver/root/AndroidManifest.xml.ftl
index d107f00..27b60b0 100644
--- a/templates/other/BroadcastReceiver/root/AndroidManifest.xml.ftl
+++ b/templates/other/BroadcastReceiver/root/AndroidManifest.xml.ftl
@@ -1,10 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" >
- <receiver>
- <service android:name=".${className}"
+ <application>
+ <receiver android:name=".${className}"
android:exported="${isExported?string}"
android:enabled="${isEnabled?string}" >
- </service>
- </receiver>
+ </receiver>
+ </application>
</manifest>