fix disable editing for subkey keys

This commit is contained in:
Ashley Hughes 2014-02-01 18:32:06 +00:00
parent 7e634a9930
commit c07be572c2

View File

@ -256,7 +256,7 @@ public class EditKeyActivity extends SherlockFragmentActivity {
// get master key id using row id
long masterKeyId = ProviderHelper.getSecretMasterKeyId(this, keyRingRowId);
boolean masterCanSign = ProviderHelper.getSecretMasterKeyCanSign(this, keyRingRowId);
masterCanSign = ProviderHelper.getSecretMasterKeyCanSign(this, keyRingRowId);
String passphrase = PassphraseCacheService.getCachedPassphrase(this, masterKeyId);
if (passphrase == null) {