make OpenPgpDecryptionResult immutable
This commit is contained in:
@@ -473,7 +473,7 @@ public class OpenPgpService extends Service {
|
|||||||
wrapperBundle.setClassLoader(getClassLoader());
|
wrapperBundle.setClassLoader(getClassLoader());
|
||||||
OpenPgpDecryptionResult decryptionResult = wrapperBundle.getParcelable(OpenPgpApi.EXTRA_DECRYPTION_RESULT);
|
OpenPgpDecryptionResult decryptionResult = wrapperBundle.getParcelable(OpenPgpApi.EXTRA_DECRYPTION_RESULT);
|
||||||
if (decryptionResult != null && decryptionResult.hasDecryptedSessionKey()) {
|
if (decryptionResult != null && decryptionResult.hasDecryptedSessionKey()) {
|
||||||
cryptoInput.addCryptoData(decryptionResult.sessionKey, decryptionResult.decryptedSessionKey);
|
cryptoInput.addCryptoData(decryptionResult.getSessionKey(), decryptionResult.getDecryptedSessionKey());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
extern/openpgp-api-lib
vendored
2
extern/openpgp-api-lib
vendored
Submodule extern/openpgp-api-lib updated: 342cda1a17...2cdadf8dfd
Reference in New Issue
Block a user