diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-07-03 15:49:46 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-07-03 15:49:46 +0200 |
commit | b9d2ae938ab6f26afb8f5806cb34f363443250e8 (patch) | |
tree | 3081463cf65caab55a683b1de71b441b56f88fa2 /OpenKeychain/src/main/java | |
parent | 2988ac6e7b9fd997dad7ce9da66645a2d84e74a4 (diff) | |
download | open-keychain-b9d2ae938ab6f26afb8f5806cb34f363443250e8.tar.gz open-keychain-b9d2ae938ab6f26afb8f5806cb34f363443250e8.tar.bz2 open-keychain-b9d2ae938ab6f26afb8f5806cb34f363443250e8.zip |
Cache passphrase for edit
Diffstat (limited to 'OpenKeychain/src/main/java')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EditKeyFragment.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EditKeyFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EditKeyFragment.java index 46d3e9718..42f007d49 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EditKeyFragment.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EditKeyFragment.java @@ -127,8 +127,6 @@ public class EditKeyFragment extends LoaderFragment implements public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); - cachePassphraseForEdit(); - // Inflate a "Done"/"Cancel" custom action bar view ActionBarHelper.setTwoButtonView(((ActionBarActivity) getActivity()).getSupportActionBar(), R.string.btn_save, R.drawable.ic_action_save, @@ -177,6 +175,8 @@ public class EditKeyFragment extends LoaderFragment implements getActivity().finish(); } + cachePassphraseForEdit(); + mChangePassphrase.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { |