summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Kevin Lubick <kjlubick@google.com> 2023-09-07 14:28:59 +0000
committer Kevin Lubick <kjlubick@google.com> 2023-09-11 11:56:56 +0000
commit14d969ddfd68cab53f384f86800e04c5efbe7952 (patch)
treea1ad551e32d96aad02bc10394300b8755e1b25f9 /libs/androidfw/StringPool.cpp
parent3679b887674feb66a666e32b59d35d2a4cb35a7f (diff)
Explicitly encode SkImages with Png encoder
Skia plans to stop the default behavior of encoding SkImages in SkPictures using a PNG encoder. To preserve that behavior, clients need to explicitly set an SkSerialProc to do so. The only other call which I could find that made use of the implicit SkPicture::serialize behavior was Picture [1]. The API is "soft removed" and thus we don't need to maintain the behavior of serializing or deserialization as long as it does not crash (which it should not). [1] frameworks/base/libs/hwui/jni/Picture.cpp See also: http://review.skia.org/753496 Bug: b/40045064 Change-Id: I2df9bffc5d1046869b5971b0fdd6ff4f1a2216af
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions