make OpenPgpDecryptionResult immutable

This commit is contained in:
Vincent Breitmoser committed 2016-06-02 18:26:25 +02:00
1 parent 594d1686c9
commit f234cd614c
2 files changed
+2 -2

No files matched your search

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