commit | bb65253db600d05ca6eeedc6d076f6af20680f99 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Mon Mar 10 13:18:53 2014 +0000 |
committer | Narayan Kamath <narayan@google.com> | Mon Mar 10 18:54:45 2014 +0000 |
tree | 795dcd39613e038f632f154b40acf0c5b2abaf71 | |
parent | efa075cb4c3d51560c12c7b3808e5e7e084b5808 [diff] |
Use the correct buffer size for the Pushback stream. The maximum number of bytes we can push back to the stream is the actual size of the DeflaterInputStream buffer (buf.length) and not the default size (BUF_LENGTH). bug: https://code.google.com/p/android/issues/detail?id=66409 Change-Id: I78a80b6ced8606602361abd8a969fa6f8227596c