commit | 375fb9bfd29ea4480aa9582bf3956b435152c8d9 | [log] [tgz] |
---|---|---|
author | Christer Fletcher <christer.fletcher@sonyericsson.com> | Mon Mar 21 15:56:27 2011 +0100 |
committer | Johan Redestig <johan.redestig@sonyericsson.com> | Mon Mar 28 14:47:55 2011 +0200 |
tree | 6780beb1c800d3f97f913e973edab38a6a088c24 | |
parent | 2e383bc6445b37d3b37fbc5b7620cd4716c5692c [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