diff options
| author | 2014-03-14 18:42:48 +0100 | |
|---|---|---|
| committer | 2014-03-14 18:48:03 +0100 | |
| commit | 912e0df89ce798a5922f87fd65b87bb99f8b4813 (patch) | |
| tree | 24d4d8bdcba986c20a6d9419bb7dadce50020076 /libs/hwui/Program.cpp | |
| parent | fc558d56c2040220853d9912d765cfc535463689 (diff) | |
Fixed a crash when an image with an odd width/height was selected
Due to an internal rounding in the renderer, the calculations
for the cropping area could be slightly offset, getting out
of the image boundaries. I sanitized the rect by ensuring they
are inside the image.
Bug: 12174629
Change-Id: Icc37790732ddd479631b898b23c05501d2dcd5be
Diffstat (limited to 'libs/hwui/Program.cpp')
0 files changed, 0 insertions, 0 deletions