mirror of
https://github.com/meditohq/medito-app.git
synced 2024-09-11 12:15:46 +03:00
Fix android service
This commit is contained in:
parent
e2de17badb
commit
c4a227bcb9
@ -36,10 +36,9 @@ class MainActivity : FlutterActivity() {
|
||||
|
||||
private fun startAudioService() {
|
||||
val intent = Intent(this, AudioPlayerService::class.java)
|
||||
startForegroundService(intent)
|
||||
startService(intent)
|
||||
}
|
||||
|
||||
|
||||
companion object {
|
||||
const val ENGINE_ID = "medito_flutter_engine"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user