Skip to content

Commit 5f40f0f

Browse files
committed
flipped default value
1 parent f0a35d6 commit 5f40f0f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pythonforandroid/bootstraps/service_only/build/templates/Service.tmpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ public int getStartType() {
2020
}
2121
{% endif %}
2222

23-
{% if not foreground %}
23+
{% if foreground %}
2424
/**
2525
* {@inheritDoc}
2626
*/
2727
@Override
2828
public boolean getStartForeground() {
29-
return false;
29+
return true;
3030
}
3131
{% endif %}
3232

0 commit comments

Comments
 (0)