Skip to content
Commit 6e07e163 authored by Leon Scroggins III's avatar Leon Scroggins III Committed by Leon Scroggins
Browse files

Fix scaling + cropping in ImageDecoder

Bug: 141735646
Test: I9ab9115ee4cbc74549f7b914d99b667c700199d5

When using a subset, do not change desiredWidth/desiredHeight, which
changes the scale used below. Instead, just change the size of the
SkBitmap, so it looks correct.

Change-Id: Ie9682afb9324bcdfc81f1d9664f9fcc3891f8939
parent a3b702fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment