diff options
author | Tharindu Wijewardane <tharindu.moratuwa@gmail.com> | 2014-03-10 17:10:16 +0530 |
---|---|---|
committer | Tharindu Wijewardane <tharindu.moratuwa@gmail.com> | 2014-03-10 17:10:16 +0530 |
commit | 2b4b09d13c1592adc617bda39cc44f632481fc2b (patch) | |
tree | e9da1d4d81d4a4e01b97a2d337a585703c1f8bd0 /OpenPGP-Keychain/src/main | |
parent | 50d9908bafd1b55640deb3a0b2cff4e06155cc5e (diff) | |
download | open-keychain-2b4b09d13c1592adc617bda39cc44f632481fc2b.tar.gz open-keychain-2b4b09d13c1592adc617bda39cc44f632481fc2b.tar.bz2 open-keychain-2b4b09d13c1592adc617bda39cc44f632481fc2b.zip |
Issue #378 ( private keys are no longer red ): Fixed
Diffstat (limited to 'OpenPGP-Keychain/src/main')
-rw-r--r-- | OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/ImportKeysListEntry.java | 3 |
1 files changed, 3 insertions, 0 deletions
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<String>(); for (String userId : new IterableIterator<String>(pgpKeyRing.getPublicKey().getUserIDs())) { |