Skip to content

Commit

Permalink
fix log message on BLE advertising on SDK < 26
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubu authored and mar-v-in committed Jan 24, 2022
1 parent 15a1b15 commit 88d14e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 88d14e9

Please sign in to comment.