Make sure OutOfMemoryError is handled by WallpaperManager
authorJohan Alfven <johan.alfven@sonyericsson.com>
Thu, 2 Sep 2010 12:26:54 +0000 (14:26 +0200)
committerJohan Redestig <johan.redestig@sonyericsson.com>
Fri, 3 Sep 2010 06:43:24 +0000 (08:43 +0200)
commit2c4a56af4d56f87a1bbf14386f045bcf57602ef2
tree57f8b716e5a39fb00c91d928ae3866669492426b
parent75a2ae937f5354a3432d0a2382e98177bd9b80d5
Make sure OutOfMemoryError is handled by WallpaperManager

Make sure exception OutOfMemoryError is handled when calling
BitmapFactory.decodeFileDescriptor and BitmapFactory.decodeStream
to avoid crash in the system server.

Change-Id: I954a6388d1225dab86d2617ab0602154b2a7f493
core/java/android/app/WallpaperManager.java