From 2b4b09d13c1592adc617bda39cc44f632481fc2b Mon Sep 17 00:00:00 2001 From: Tharindu Wijewardane Date: Mon, 10 Mar 2014 17:10:16 +0530 Subject: Issue #378 ( private keys are no longer red ): Fixed --- .../sufficientlysecure/keychain/ui/adapter/ImportKeysListEntry.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenPGP-Keychain/src/main/java/org/sufficientlysecure') diff --git a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ImportKeysListEntry.java b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ImportKeysListEntry.java index f764b879c..ac1f582f1 100644 --- a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ImportKeysListEntry.java +++ b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ImportKeysListEntry.java @@ -155,6 +155,9 @@ public class ImportKeysListEntry implements Serializable, Parcelable { if ( !(pgpKeyRing instanceof PGPSecretKeyRing) ) { secretKey = false; } + else{ + secretKey = true; + } userIds = new ArrayList(); for (String userId : new IterableIterator(pgpKeyRing.getPublicKey().getUserIDs())) { -- cgit v1.2.3