make OpenPgpDecryptionResult immutable

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

View File

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