summaryrefslogtreecommitdiff
path: root/opengl/java/android/opengl/Texture.java
diff options
context:
space:
mode:
authorChrister Fletcher <christer.fletcher@sonyericsson.com>2011-03-21 15:56:27 +0100
committerJohan Redestig <johan.redestig@sonyericsson.com>2011-03-28 14:47:55 +0200
commit375fb9bfd29ea4480aa9582bf3956b435152c8d9 (patch)
tree6780beb1c800d3f97f913e973edab38a6a088c24 /opengl/java/android/opengl/Texture.java
parent2e383bc6445b37d3b37fbc5b7620cd4716c5692c (diff)
Handle OutOfMemoryError when decoding images in ThumbnailUtils
Added handling of OutOfMemoryError handling to createImageThumbnail method in ThumbnailUtils.java. During mediascanner run it would run out of memory when trying to decode very large images. Now it handles this error and returns null which is handled by the media scanner. Change-Id: Ie68722dfa1cedd3c0847bf483baa40c4827ad5a8
Diffstat (limited to 'opengl/java/android/opengl/Texture.java')
0 files changed, 0 insertions, 0 deletions