mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-04-23 19:48:30 +00:00
Fixed infinite loop
This commit is contained in:
parent
355dd493d2
commit
2c364e4e23
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ class Api31Compatibility {
|
||||||
|
|
||||||
fun startForegroundService(context: Context, intent: Intent) {
|
fun startForegroundService(context: Context, intent: Intent) {
|
||||||
try {
|
try {
|
||||||
Compatibility.startForegroundService(context, intent)
|
context.startForegroundService(intent)
|
||||||
} catch (fssnae: ForegroundServiceStartNotAllowedException) {
|
} catch (fssnae: ForegroundServiceStartNotAllowedException) {
|
||||||
Log.e("[Api31 Compatibility] Can't start service as foreground! $fssnae")
|
Log.e("[Api31 Compatibility] Can't start service as foreground! $fssnae")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue