Fix first key is not used erroneously
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user