mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +01:00
[Huawei] Ask pincode only on first connection
This commit is contained in:
parent
52e61e36fe
commit
83a010f42e
@ -414,7 +414,7 @@ public class HuaweiSupportProvider {
|
||||
try {
|
||||
GetHiChainRequest hiChainReq = new GetHiChainRequest(this, firstConnection);
|
||||
hiChainReq.setFinalizeReq(configureReq);
|
||||
if (paramsProvider.getPinCode() == null) {
|
||||
if (firstConnection) {
|
||||
GetPincodeRequest pincodeReq = new GetPincodeRequest(this);
|
||||
pincodeReq.nextRequest(hiChainReq);
|
||||
pincodeReq.doPerform();
|
||||
|
Loading…
Reference in New Issue
Block a user