We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0a35d6 commit 5f40f0fCopy full SHA for 5f40f0f
1 file changed
pythonforandroid/bootstraps/service_only/build/templates/Service.tmpl.java
@@ -20,13 +20,13 @@ public int getStartType() {
20
}
21
{% endif %}
22
23
- {% if not foreground %}
+ {% if foreground %}
24
/**
25
* {@inheritDoc}
26
*/
27
@Override
28
public boolean getStartForeground() {
29
- return false;
+ return true;
30
31
32
0 commit comments