service tests
This commit is contained in:
parent
bc2bcb7253
commit
014b3fa18c
|
@ -8,6 +8,7 @@
|
|||
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||||
|
||||
<application
|
||||
android:name=".core.App"
|
||||
|
|
|
@ -31,7 +31,7 @@ class MicrogDownloadService: Service() {
|
|||
}
|
||||
}
|
||||
stopSelf()
|
||||
return START_STICKY
|
||||
return START_NOT_STICKY
|
||||
}
|
||||
|
||||
private fun downloadMicrog() {
|
||||
|
|
|
@ -37,7 +37,7 @@ class VancedDownloadService: Service() {
|
|||
|
||||
}
|
||||
stopSelf()
|
||||
return START_STICKY
|
||||
return START_NOT_STICKY
|
||||
}
|
||||
|
||||
private fun downloadSplits(
|
||||
|
|
Loading…
Reference in New Issue