Abort pairing if another pairing attempt is in progress

This commit is contained in:
Cameron Gutman
2019-11-04 20:27:05 -08:00
parent af5e7a0e33
commit c0d3f9fa48

View File

@@ -214,6 +214,7 @@ public class PairingManager {
if (serverCert == null) {
// Attempting to pair while another device is pairing will cause GFE
// to give an empty cert in the response.
http.openHttpConnectionToString(http.baseUrlHttp + "/unpair?"+http.buildUniqueIdUuidString(), true);
return PairState.ALREADY_IN_PROGRESS;
}