mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-03 17:02:13 +01:00
SoFlow SO6: fix settings
This commit is contained in:
parent
27406e0881
commit
5db9d36d1a
@ -136,14 +136,18 @@ public class SoFlowCoordinator extends AbstractBLEDeviceCoordinator {
|
||||
|
||||
@Override
|
||||
public int getBondingStyle() {
|
||||
return BONDING_STYLE_NONE;
|
||||
return BONDING_STYLE_REQUIRE_KEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int[] getSupportedDeviceSpecificAuthenticationSettings() {
|
||||
return new int[]{R.xml.devicesettings_pairingkey};
|
||||
}
|
||||
|
||||
@Override
|
||||
public int[] getSupportedDeviceSpecificSettings(GBDevice device) {
|
||||
return new int[]{
|
||||
R.xml.devicesettings_lock_unlock,
|
||||
R.xml.devicesettings_pairingkey
|
||||
R.xml.devicesettings_lock_unlock
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user