Intent related code cleanups

This commit is contained in:
Juha Heinanen
2021-06-14 14:50:52 +03:00
parent ea7915b970
commit 66d1efa63a
11 changed files with 22 additions and 40 deletions
@@ -411,8 +411,7 @@ class BaresipService: Service() {
if (am.isBluetoothScoOn) am.stopBluetoothSco()
cleanService()
if (isServiceRunning) {
val broadcastIntent = Intent("com.tutpro.baresip.Restart")
sendBroadcast(broadcastIntent)
sendBroadcast(Intent("com.tutpro.baresip.Restart"))
}
}