summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2014-10-17 15:23:37 -0400
committer Leon Scroggins <scroggo@google.com> 2014-10-17 21:15:51 +0000
commit14494262d39964ccd7f0fbac43f45ac2ea1eb224 (patch)
tree721a35763cc2ac03dd4de3ab5b9869398f47084b /libs/androidfw/misc.cpp
parentf23b29ad5a730c7b26d9f96c764dc4e0d96fdd16 (diff)
Decoder only returns true on complete success.
Recently we added a way for SkImageDecoder::decode to distinguish between successfully decoding the entire image and only partially decoding the image (see https://codereview.chromium.org/647023006). Only consider a call to decode() a success if the image was completely decoded. This matches pre-L behavior, and lets the caller know that they need to try to decode again. Requires a change to external/skia (I33e6940e247b74b20361ae041f8d36eb600df49f) BUG:17419670 Change-Id: I17ed7288b2359fafaec9551adb16d1d037800eb7
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions