ImportKeys: Fix key preview when already downloaded

This commit is contained in:
Andrea Torlaschi committed 2016-08-19 22:35:44 +02:00
1 parent 706840771a
commit 10ce910164
2 files changed
+6 -5

No files matched your search

@@ -321,7 +321,8 @@ public class ImportKeysAdapter extends RecyclerView.Adapter<ImportKeysAdapter.Vi
mKeyStates[mCurrent].mDownloaded = true;
changeState(mCurrent, true);
} else {
throw new RuntimeException("getKey retrieved more than one key.");
throw new RuntimeException("getKey retrieved more than one key ("
+ canKeyRings.size() + ")");
}
}
}