mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 09:01:55 +01:00
[Huawei] Fix attribut keyword
This commit is contained in:
parent
ef06fd4d5e
commit
fc857b8adb
@ -57,11 +57,11 @@ public class GetAuthRequest extends Request {
|
|||||||
this.authVersion = paramsProvider.getAuthVersion();
|
this.authVersion = paramsProvider.getAuthVersion();
|
||||||
this.authAlgo = paramsProvider.getAuthAlgo();
|
this.authAlgo = paramsProvider.getAuthAlgo();
|
||||||
this.deviceSupportType = paramsProvider.getDeviceSupportType();
|
this.deviceSupportType = paramsProvider.getDeviceSupportType();
|
||||||
|
this.huaweiCrypto = new HuaweiCrypto(authVersion, authAlgo, deviceSupportType);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected List<byte[]> createRequest() throws RequestCreationException {
|
protected List<byte[]> createRequest() throws RequestCreationException {
|
||||||
huaweiCrypto = new HuaweiCrypto(authVersion, authAlgo, deviceSupportType);
|
|
||||||
byte[] nonce;
|
byte[] nonce;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
@ -102,7 +102,7 @@ public class Request {
|
|||||||
protected RequestCallback finalizeReq = null;
|
protected RequestCallback finalizeReq = null;
|
||||||
// Stop chaining requests and clean support.inProgressRequests from these requests
|
// Stop chaining requests and clean support.inProgressRequests from these requests
|
||||||
protected boolean stopChain = false;
|
protected boolean stopChain = false;
|
||||||
protected static HuaweiCrypto huaweiCrypto = null;
|
protected HuaweiCrypto huaweiCrypto = null;
|
||||||
protected boolean addToResponse = true;
|
protected boolean addToResponse = true;
|
||||||
|
|
||||||
public static class RequestCallback {
|
public static class RequestCallback {
|
||||||
|
Loading…
Reference in New Issue
Block a user