fix symmetric decryption (fixes #1672)
This commit is contained in:
@@ -200,8 +200,6 @@ public class PassphraseDialogActivity extends FragmentActivity {
|
|||||||
return dialog;
|
return dialog;
|
||||||
}
|
}
|
||||||
|
|
||||||
long subKeyId = mRequiredInput.getSubKeyId();
|
|
||||||
|
|
||||||
LayoutInflater inflater = LayoutInflater.from(theme);
|
LayoutInflater inflater = LayoutInflater.from(theme);
|
||||||
mLayout = (ViewAnimator) inflater.inflate(R.layout.passphrase_dialog, null);
|
mLayout = (ViewAnimator) inflater.inflate(R.layout.passphrase_dialog, null);
|
||||||
alert.setView(mLayout);
|
alert.setView(mLayout);
|
||||||
@@ -232,6 +230,8 @@ public class PassphraseDialogActivity extends FragmentActivity {
|
|||||||
hint = getString(R.string.label_passphrase);
|
hint = getString(R.string.label_passphrase);
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
|
long subKeyId = mRequiredInput.getSubKeyId();
|
||||||
|
|
||||||
ProviderHelper helper = new ProviderHelper(activity);
|
ProviderHelper helper = new ProviderHelper(activity);
|
||||||
mSecretRing = helper.getCanonicalizedSecretKeyRing(
|
mSecretRing = helper.getCanonicalizedSecretKeyRing(
|
||||||
KeychainContract.KeyRings.buildUnifiedKeyRingsFindBySubkeyUri(subKeyId));
|
KeychainContract.KeyRings.buildUnifiedKeyRingsFindBySubkeyUri(subKeyId));
|
||||||
|
|||||||
Reference in New Issue
Block a user