diff options
author | Leon Scroggins III <scroggo@google.com> | 2020-01-29 14:51:26 -0500 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2020-01-29 14:51:26 -0500 |
commit | 9f49a7cd7432950d0695ba4450b49a71a88ddc8e (patch) | |
tree | 73b019de49a7f3c5b01e9540df852ebcbbde27c1 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a6983622520348d420a4aa6138561d350814a733 (diff) |
Force compressing ALPHA_8 to fail
Bug: 146637821
Test: Iaf4d038379f46aa7e55384351d8098a32c4cd9ea
This failed up through O, but "succeeded" for Bitmap.CompressFormat.PNG
starting in P. The P behavior, though, uses a non-standard encoding.
When re-decoding it, Android would treat it as an all black 8888 Bitmap
with transparency, which is likely not what they wanted. Restore the
pre-P behavior.
Change-Id: I0f221fe66b6e318d2c9ed8fc199c2253f9f52497
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions