mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
improved readability on BluetoothStateReceiver
and renamed `intent` to `intentFilter` to properly reflect type
This commit is contained in:
parent
b98a8ea34b
commit
8219ef42ed
3 changed files with 16 additions and 18 deletions
|
|
@ -371,7 +371,7 @@ class MainActivity : AppCompatActivity(), Logging,
|
|||
updateBluetoothEnabled()
|
||||
|
||||
/// We now want to be informed of bluetooth state
|
||||
registerReceiver(btStateReceiver, btStateReceiver.intent)
|
||||
registerReceiver(btStateReceiver, btStateReceiver.intentFilter)
|
||||
|
||||
// if (!isInTestLab) - very important - even in test lab we must request permissions because we need location perms for some of our tests to pass
|
||||
requestPermission()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue