commit | dc3bb384bc94651c75f1d714af0f033b0b4355b9 | [log] [tgz] |
---|---|---|
author | Hiroki Sato <hirokisato@google.com> | Thu Apr 25 21:51:36 2024 +0900 |
committer | Hiroki Sato <hirokisato@google.com> | Fri Apr 26 01:57:33 2024 +0000 |
tree | 6d6d7d0541ba3cc70be548915ed2b7375e54e8e7 | |
parent | b5489f4b5e50a95c594479bced4ce9cdb1dd3a33 [diff] |
Fix SeekableAutoCloseInputStream#read with len=0 When the read length is zero, javadoc specifies it returns 0. This fixes the behavior. Bug: 336939044 Bug: 337138079 Test: CtsResourcesTestCases:AssetFileDescriptor_AutoCloseInputStreamTest Change-Id: I4714f831f2c347cd83d8e93bdec97eb6c2598f75