Skip to content

Commit 1e1bcdf

Browse files
committed
bootstraps can include a BroadcastReceiver
1 parent 4f343c7 commit 1e1bcdf

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

bootstrap/common/templates/AndroidManifest.tmpl.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,15 @@
8686
android:process=":PythonService"/>
8787
{% endif %}
8888

89+
{% if args.bootstrap.broadcastreceiver_entrypoint %}
90+
<receiver android:name="{{ args.bootstrap.broadcastreceiver_entrypoint }}" android:enabled="true" >
91+
<intent-filter>
92+
<action android:name ="{{ args.bootstrap.broadcastreceiver_action }}"/>
93+
<category android:name="android.intent.category.DEFAULT" />
94+
</intent-filter>
95+
</receiver>
96+
{% endif %}
97+
8998
{% if args.billing_pubkey %}
9099
<service android:name="org.renpy.android.billing.BillingService"
91100
android:process=":python" />

0 commit comments

Comments
 (0)