Merge pull request #385 from tharinduwijewardane/master

Issue #378 ( private keys are no longer red ): Fixed
This commit is contained in:
Dominik Schürmann 2014-03-10 16:02:58 +01:00
commit 3372cfacb6

View File

@ -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())) {