mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-24 07:08:09 +00:00
Remove read of uncrypted Qrcode
This commit is contained in:
parent
ba130ae5e9
commit
2bce677637
1 changed files with 4 additions and 10 deletions
|
|
@ -322,17 +322,11 @@ public class RemoteProvisioningLoginActivity extends Activity implements OnClick
|
|||
if (id == R.id.valider) {
|
||||
displayRemoteProvisioningInProgressDialog();
|
||||
ok.setEnabled(false);
|
||||
if (qrcodeString != null
|
||||
&& (qrcodeString.startsWith("http://")
|
||||
|| qrcodeString.startsWith("https://"))) {
|
||||
storeAccount(qrcodeString);
|
||||
if (decryptQrcode()) {
|
||||
storeAccount(remoteUrl);
|
||||
} else {
|
||||
if (decryptQrcode()) {
|
||||
storeAccount(remoteUrl);
|
||||
} else {
|
||||
ok.setEnabled(true);
|
||||
if (progress != null) progress.cancel();
|
||||
}
|
||||
ok.setEnabled(true);
|
||||
if (progress != null) progress.cancel();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue