fix log message on BLE advertising on SDK < 26

This commit is contained in:
Marcus Hoffmann 2021-11-25 12:39:38 +01:00 committed by Marvin W
parent 15a1b15591
commit 88d14e9e8a

View File

@ -163,7 +163,7 @@ class AdvertiserService : LifecycleService() {
try {
advertiser.startAdvertising(settings, data, callback)
} catch (e: SecurityException) {
Log.e(TAG, "Couldn't start advertising: Need android.permission.BLUETOOTH_ADVERTISE permission.", )
Log.e(TAG, "Couldn't start advertising.", )
}
}
synchronized(this) { advertising = true }