diff options
author | Paulo Casanova <pasc@google.com> | 2017-04-24 22:37:49 +0100 |
---|---|---|
committer | Paulo Casanova <pasc@google.com> | 2017-04-28 00:04:53 +0000 |
commit | 1bc7cd6364156fad1b7296cbdf2709dc3fd12687 (patch) | |
tree | a7c7e6ae8fa38f8a406e897ee0aa416030de07b2 /src/main | |
parent | cf1296bd14f843c76544de5a2e4866db38d55681 (diff) | |
download | apkzlib-1bc7cd6364156fad1b7296cbdf2709dc3fd12687.tar.gz |
Fix another directExecutor missing.
Test: None needed
Change-Id: Iad0fc1b13d7521a2ddfada2ba27392d8d78d207e
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/android/apkzlib/zip/ZFile.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/android/apkzlib/zip/ZFile.java b/src/main/java/com/android/apkzlib/zip/ZFile.java index 7855a8c..5972b96 100644 --- a/src/main/java/com/android/apkzlib/zip/ZFile.java +++ b/src/main/java/com/android/apkzlib/zip/ZFile.java @@ -1581,7 +1581,8 @@ public class ZFile implements Closeable { MoreExecutors.directExecutor()); ListenableFuture<CloseableByteSource> compressedByteSourceFuture = - Futures.transform(result, CompressionResult::getSource); + Futures.transform( + result, CompressionResult::getSource, MoreExecutors.directExecutor()); LazyDelegateByteSource compressedByteSource = new LazyDelegateByteSource( compressedByteSourceFuture); return new ProcessedAndRawByteSources(source, compressedByteSource); |