1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-29 20:15:50 +01:00

Add AW for bond request

This commit is contained in:
Damien 'Psolyca' Gaignon 2024-01-28 19:12:17 +01:00
parent b860ab116f
commit a53d59f907
No known key found for this signature in database
GPG Key ID: 9E9404E5D9E11843

View File

@ -400,7 +400,7 @@ public class HuaweiSupportProvider {
try {
createSecretKey();
GetAuthRequest authReq = new GetAuthRequest(this, linkParamsReq);
if (getHuaweiType() == HuaweiDeviceType.BLE) {
if (getHuaweiType() == HuaweiDeviceType.BLE || getHuaweiType() == HuaweiDeviceType.AW) {
GetBondParamsRequest bondParamsReq = new GetBondParamsRequest(this);
GetBondRequest bondReq = new GetBondRequest(this);
authReq.nextRequest(bondParamsReq);