diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2016-05-04 11:45:56 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2016-05-04 11:45:56 +0200 |
commit | 6b7a0597af7aa42b375ca34d8a47515fa8adcc9f (patch) | |
tree | 1da27b891191273841c80675552bb19e25209800 /OpenKeychain/src/main/java/org/sufficientlysecure | |
parent | 4c063ebe4683c0ffd0a80ff617967e8134b484fa (diff) | |
download | open-keychain-6b7a0597af7aa42b375ca34d8a47515fa8adcc9f.tar.gz open-keychain-6b7a0597af7aa42b375ca34d8a47515fa8adcc9f.tar.bz2 open-keychain-6b7a0597af7aa42b375ca34d8a47515fa8adcc9f.zip |
api: add a comment explaining use of wrapperBundle
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java index c0343aac6..f975ca9a1 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java @@ -454,6 +454,7 @@ public class OpenPgpService extends Service { new Passphrase(data.getCharArrayExtra(OpenPgpApi.EXTRA_PASSPHRASE)); } if (data.hasExtra(OpenPgpApi.EXTRA_DECRYPTION_RESULT_WRAPPER)) { + // this is wrapped in a Bundle to avoid ClassLoader problems Bundle wrapperBundle = data.getBundleExtra(OpenPgpApi.EXTRA_DECRYPTION_RESULT_WRAPPER); wrapperBundle.setClassLoader(getClassLoader()); OpenPgpDecryptionResult decryptionResult = wrapperBundle.getParcelable(OpenPgpApi.EXTRA_DECRYPTION_RESULT); |