summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorMatt Sarett <msarett@google.com>2016-02-05 08:30:11 -0500
committerMatt Sarett <msarett@google.com>2016-02-05 15:08:56 +0000
commit1819bb5230241b3428b75f848c3f9977afd0186f (patch)
tree6895ae11329f8462d9e0e4f0a8c6191daeb41ed2 /tools/aapt2/diff/Diff.cpp
parenta4761f0b8b27a058cba965db42e859f18b6a3e49 (diff)
Copy appropriate number of rows in RecyclingClippingPixelAllocator
This is used by BitmapRegionDecoder to decode into a recycled bitmap. Since the specification does not guarantee that the recycled bitmap will be larger than the decoded region, we must be careful to only to copy min(recycledHeight, decodeHeight) rows. This should fix flakiness in the BitmapRegionDecoderTest on cts. BUG:26978886 Change-Id: I318468b0eaa67bd9a7860824f75d45df9bf5fbce
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions