diff options
author | mar-v-in <github@rvin.mooo.com> | 2014-06-10 20:57:48 +0200 |
---|---|---|
committer | mar-v-in <github@rvin.mooo.com> | 2014-06-10 20:57:48 +0200 |
commit | f55bc41682c3cfa06d34d6b9679ba7a720066a3f (patch) | |
tree | edaaacb39096c30a535c6b588b36cd703d2377c4 /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service | |
parent | 08d63340c92d6c251f082a0d200df8541a42ba61 (diff) | |
download | open-keychain-f55bc41682c3cfa06d34d6b9679ba7a720066a3f.tar.gz open-keychain-f55bc41682c3cfa06d34d6b9679ba7a720066a3f.tar.bz2 open-keychain-f55bc41682c3cfa06d34d6b9679ba7a720066a3f.zip |
Use Document API on KitKat for file encrypt/decrypt
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java index 67aa8d8c1..776419b4a 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java @@ -788,7 +788,7 @@ public class KeychainIntentService extends IntentService // InputStream InputStream in = getContentResolver().openInputStream(providerUri); - return new InputData(in, PgpHelper.getLengthOfStream(in)); + return new InputData(in, 0); default: throw new PgpGeneralException("No target choosen!"); |