kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
Updated comment
rodzic
8d04a71fc4
commit
ac8fd1344d
|
@ -674,8 +674,9 @@ class SettingsFragment : ScreenFragment("Settings"), Logging {
|
||||||
addDeviceButton(device, true)
|
addDeviceButton(device, true)
|
||||||
}
|
}
|
||||||
|
|
||||||
// The device the user is already paired with is offline currently, still show it
|
// The selected device is not in the scan; it is either offline, or it doesn't advertise
|
||||||
// it in the list, but greyed out
|
// itself (most BLE devices don't advertise when connected).
|
||||||
|
// Show it in the list, greyed out based on connection status.
|
||||||
if (!hasShownOurDevice) {
|
if (!hasShownOurDevice) {
|
||||||
// Note: we pull this into a tempvar, because otherwise some other thread can change selectedAddress after our null check
|
// Note: we pull this into a tempvar, because otherwise some other thread can change selectedAddress after our null check
|
||||||
// and before use
|
// and before use
|
||||||
|
|
Ładowanie…
Reference in New Issue