[Huawei] Fix reconnection issue

This commit is contained in:
Damien 'Psolyca' Gaignon 2024-03-31 18:28:49 +02:00
parent 6853e3671b
commit 7b22b8880d
No known key found for this signature in database
GPG Key ID: 9E9404E5D9E11843

View File

@ -374,7 +374,7 @@ public class HuaweiSupportProvider {
try { try {
GetHiChainRequest hiChainReq = new GetHiChainRequest(this, needsAuth); GetHiChainRequest hiChainReq = new GetHiChainRequest(this, needsAuth);
hiChainReq.setFinalizeReq(configureReq); hiChainReq.setFinalizeReq(configureReq);
if (paramsProvider.getPinCode() == null & ((authType ^ 0x04) == 0x01) ) { if (paramsProvider.getPinCode() == null) {
GetPincodeRequest pincodeReq = new GetPincodeRequest(this); GetPincodeRequest pincodeReq = new GetPincodeRequest(this);
pincodeReq.nextRequest(hiChainReq); pincodeReq.nextRequest(hiChainReq);
pincodeReq.doPerform(); pincodeReq.doPerform();