summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/ShortcutInfo.java
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2014-03-14 18:19:35 +0100
committerSelim Cinek <cinek@google.com>2014-03-14 18:27:23 +0100
commite04e8b2a142f22bfeb8729e542f51d5510327eb9 (patch)
tree03c9535619882e7eee0cc976839b9845531c423d /src/com/android/launcher3/ShortcutInfo.java
parent04960cd2e5968e83b26f4fbab23713a5d62af2fc (diff)
downloadandroid_packages_apps_Trebuchet-e04e8b2a142f22bfeb8729e542f51d5510327eb9.tar.gz
android_packages_apps_Trebuchet-e04e8b2a142f22bfeb8729e542f51d5510327eb9.tar.bz2
android_packages_apps_Trebuchet-e04e8b2a142f22bfeb8729e542f51d5510327eb9.zip
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: I5e08c83fe3e9cd48254fa6c8ba9cef77ab8a51a6
Diffstat (limited to 'src/com/android/launcher3/ShortcutInfo.java')
0 files changed, 0 insertions, 0 deletions