mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-24 01:32:16 -05:00
cleanup, debug for passphrase set
This commit is contained in:
parent
6ca9d8a268
commit
bd7b4ccf2b
@ -286,12 +286,9 @@ public class EditKeyFragment extends LoaderFragment implements
|
|||||||
if (message.what == SetPassphraseDialogFragment.MESSAGE_OKAY) {
|
if (message.what == SetPassphraseDialogFragment.MESSAGE_OKAY) {
|
||||||
Bundle data = message.getData();
|
Bundle data = message.getData();
|
||||||
|
|
||||||
// set new returned passphrase!
|
// cache new returned passphrase!
|
||||||
String newPassphrase = data
|
mSaveKeyringParcel.newPassphrase = data
|
||||||
.getString(SetPassphraseDialogFragment.MESSAGE_NEW_PASSPHRASE);
|
.getString(SetPassphraseDialogFragment.MESSAGE_NEW_PASSPHRASE);
|
||||||
|
|
||||||
mSaveKeyringParcel.newPassphrase = newPassphrase;
|
|
||||||
Log.d(Constants.TAG, "newPassphrase set");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -377,6 +374,8 @@ public class EditKeyFragment extends LoaderFragment implements
|
|||||||
|
|
||||||
private void save(String passphrase) {
|
private void save(String passphrase) {
|
||||||
Log.d(Constants.TAG, "add userids to parcel: " + mUserIdsAddedAdapter.getDataAsStringList());
|
Log.d(Constants.TAG, "add userids to parcel: " + mUserIdsAddedAdapter.getDataAsStringList());
|
||||||
|
Log.d(Constants.TAG, "mSaveKeyringParcel.newPassphrase: " + mSaveKeyringParcel.newPassphrase);
|
||||||
|
|
||||||
mSaveKeyringParcel.addUserIds = mUserIdsAddedAdapter.getDataAsStringList();
|
mSaveKeyringParcel.addUserIds = mUserIdsAddedAdapter.getDataAsStringList();
|
||||||
|
|
||||||
// Message is received after importing is done in KeychainIntentService
|
// Message is received after importing is done in KeychainIntentService
|
||||||
|
Loading…
Reference in New Issue
Block a user