commit | eb95e74e21a0e910704ca2fd67e074ab640bfba3 | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Fri Mar 14 18:42:48 2014 +0100 |
committer | Adrian Roos <roosa@google.com> | Fri Mar 14 20:11:17 2014 +0000 |
tree | 0ea6428ec29846bb5ec23cfa0a803d2e066df8d0 | |
parent | ff89d589c7eb32265bf70068ffaef24104a580a5 [diff] |
DO NOT MERGE - Fixed crash for odd image width/height 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