mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-12-29 06:05:47 +01:00
fix log message on BLE advertising on SDK < 26
This commit is contained in:
parent
15a1b15591
commit
88d14e9e8a
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user