summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Tom Cherry <tomcherry@google.com> 2021-08-04 11:20:49 -0700
committer Tom Cherry <tomcherry@google.com> 2021-08-04 11:32:30 -0700
commitf2473cc12ec657ade9afa177d4648ae46ff961fa (patch)
tree28268fc50084f98f2d0d57617ee3996c04c6597f /libs/androidfw/AttributeResolution.cpp
parent0520140984752f177cf73cc34b4b5a3f5051f695 (diff)
DropBoxManager: use BufferedInputStream when using GZIPInputStream
GZIPInputStream has a bug (b/195554062) where it uses unbuffered IO when reading the gzip header. This triggers the UnbufferedIoViolation strict mode violation for apps that target API level 28+. Independently of fixing GZIPInputStream, DropBoxManager can use BufferedInputStream to take a proactive step against this and future bugs. Bug: 195554712 Test: Successfully read gzip dropbox entries from API level 28+ app. Change-Id: Id539efcb366b3e3d53513a098975b25866ed16ff
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions