Issue #378 ( private keys are no longer red ): Fixed

This commit is contained in:
Tharindu Wijewardane 2014-03-10 17:10:16 +05:30
parent 50d9908baf
commit 2b4b09d13c

View File

@ -155,6 +155,9 @@ public class ImportKeysListEntry implements Serializable, Parcelable {
if ( !(pgpKeyRing instanceof PGPSecretKeyRing) ) { if ( !(pgpKeyRing instanceof PGPSecretKeyRing) ) {
secretKey = false; secretKey = false;
} }
else{
secretKey = true;
}
userIds = new ArrayList<String>(); userIds = new ArrayList<String>();
for (String userId : new IterableIterator<String>(pgpKeyRing.getPublicKey().getUserIDs())) { for (String userId : new IterableIterator<String>(pgpKeyRing.getPublicKey().getUserIDs())) {