mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Fossil Q: Hide unused authentication key preference
This commit is contained in:
committed by
Arjan Schrijver
parent
a03799fff3
commit
9093f730a2
+7
-3
@@ -313,9 +313,13 @@ public class QHybridCoordinator extends AbstractBLEDeviceCoordinator {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int[] getSupportedDeviceSpecificAuthenticationSettings() {
|
public int[] getSupportedDeviceSpecificAuthenticationSettings() {
|
||||||
return new int[]{
|
if (isHybridHR()) {
|
||||||
R.xml.devicesettings_pairingkey
|
return new int[]{
|
||||||
};
|
R.xml.devicesettings_pairingkey
|
||||||
|
};
|
||||||
|
} else {
|
||||||
|
return new int[0];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
|
|||||||
Reference in New Issue
Block a user