1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-03 02:06:21 +02:00

[Huawei] Fix attribut keyword

This commit is contained in:
Damien 'Psolyca' Gaignon 2024-02-05 22:35:42 +01:00
parent ef06fd4d5e
commit fc857b8adb
No known key found for this signature in database
GPG Key ID: 9E9404E5D9E11843
2 changed files with 2 additions and 2 deletions

View File

@ -57,11 +57,11 @@ public class GetAuthRequest extends Request {
this.authVersion = paramsProvider.getAuthVersion();
this.authAlgo = paramsProvider.getAuthAlgo();
this.deviceSupportType = paramsProvider.getDeviceSupportType();
this.huaweiCrypto = new HuaweiCrypto(authVersion, authAlgo, deviceSupportType);
}
@Override
protected List<byte[]> createRequest() throws RequestCreationException {
huaweiCrypto = new HuaweiCrypto(authVersion, authAlgo, deviceSupportType);
byte[] nonce;
try {

View File

@ -102,7 +102,7 @@ public class Request {
protected RequestCallback finalizeReq = null;
// Stop chaining requests and clean support.inProgressRequests from these requests
protected boolean stopChain = false;
protected static HuaweiCrypto huaweiCrypto = null;
protected HuaweiCrypto huaweiCrypto = null;
protected boolean addToResponse = true;
public static class RequestCallback {