mirror of
https://github.com/moparisthebest/open-keychain
synced 2025-01-31 15:10:19 -05:00
Fix first key is not used erroneously
This commit is contained in:
parent
0568632f32
commit
3a13cd5e4d
@ -115,7 +115,6 @@ public class EncryptKeyCompletionView extends TokenCompleteTextView {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ArrayList<EncryptionKey> keys = new ArrayList<EncryptionKey>();
|
ArrayList<EncryptionKey> keys = new ArrayList<EncryptionKey>();
|
||||||
cursor.moveToFirst();
|
|
||||||
while (cursor.moveToNext()) {
|
while (cursor.moveToNext()) {
|
||||||
try {
|
try {
|
||||||
if (cursor.getInt(cursor.getColumnIndexOrThrow(KeychainContract.KeyRings.HAS_ENCRYPT)) != 0) {
|
if (cursor.getInt(cursor.getColumnIndexOrThrow(KeychainContract.KeyRings.HAS_ENCRYPT)) != 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user