wrong types being created

This commit is contained in:
Ashley Hughes 2014-02-01 16:36:33 +00:00
parent de6a515ca5
commit 3f0f3cca6a

View File

@ -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);