fix crash when adding a repo without a fingerprint via URL/QR Code
This commit is contained in:
parent
3701d7864a
commit
1d1c682c2c
@ -364,6 +364,7 @@ public class RepoListFragment extends ListFragment
|
|||||||
final Button addButton = alrt.getButton(DialogInterface.BUTTON_POSITIVE);
|
final Button addButton = alrt.getButton(DialogInterface.BUTTON_POSITIVE);
|
||||||
alrt.setTitle(R.string.repo_exists);
|
alrt.setTitle(R.string.repo_exists);
|
||||||
overwriteMessage.setVisibility(View.VISIBLE);
|
overwriteMessage.setVisibility(View.VISIBLE);
|
||||||
|
if (newFingerprint != null)
|
||||||
newFingerprint = newFingerprint.toUpperCase(Locale.ENGLISH);
|
newFingerprint = newFingerprint.toUpperCase(Locale.ENGLISH);
|
||||||
if (repo.fingerprint == null && newFingerprint != null) {
|
if (repo.fingerprint == null && newFingerprint != null) {
|
||||||
// we're upgrading from unsigned to signed repo
|
// we're upgrading from unsigned to signed repo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user