diff options
author | Ashley Hughes <spirit.returned@gmail.com> | 2014-02-01 16:36:33 +0000 |
---|---|---|
committer | Ashley Hughes <spirit.returned@gmail.com> | 2014-02-01 16:36:33 +0000 |
commit | 3f0f3cca6afa65dba4ff5868e5112cce39e2dc94 (patch) | |
tree | 158b67404c7f7b01534b6f054fa7875fe984e3d0 | |
parent | de6a515ca51ab04f9c62b80a952d4e4ed00cce5b (diff) | |
download | open-keychain-3f0f3cca6afa65dba4ff5868e5112cce39e2dc94.tar.gz open-keychain-3f0f3cca6afa65dba4ff5868e5112cce39e2dc94.tar.bz2 open-keychain-3f0f3cca6afa65dba4ff5868e5112cce39e2dc94.zip |
wrong types being created
-rw-r--r-- | OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/widget/SectionView.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/widget/SectionView.java b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/widget/SectionView.java index 83661d140..96e434e20 100644 --- a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/widget/SectionView.java +++ b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/ui/widget/SectionView.java @@ -297,10 +297,10 @@ public class SectionView extends LinearLayout implements OnClickListener, Editor PGPSecretKey masterKey = ((KeyEditor) mEditors.getChildAt(0)).getValue(); passPhrase = PassphraseCacheService .getCachedPassphrase(mActivity, masterKey.getKeyID()); - isMasterKey = true; + isMasterKey = false; } else { passPhrase = ""; - isMasterKey = false; + isMasterKey = true; } data.putBoolean(KeychainIntentService.GENERATE_KEY_MASTER_KEY, isMasterKey); data.putString(KeychainIntentService.GENERATE_KEY_SYMMETRIC_PASSPHRASE, passPhrase); |