Solved problem of background service crashing - it is a 'feature' of Android 8 where background services are shutdown when the main activity stops. Solution is to make the service a 'Foreground Service' instead (I think - testing now....)

This commit is contained in:
Graham Jones
2019-01-14 23:31:02 +00:00
parent 77c3f9d48e
commit 4308e90f26
4 changed files with 25 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
#Wed Dec 26 18:31:40 GMT 2018
#Mon Jan 14 22:11:00 GMT 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip