ImportKeys: Fix key preview when already downloaded

This commit is contained in:
Andrea Torlaschi
2016-08-02 22:40:26 +02:00
parent 706840771a
commit 10ce910164
2 changed files with 6 additions and 5 deletions

View File

@@ -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() + ")");
}
}
}