diff options
| author | Nils Holmström <nils.holmstrom@sonymobile.com> | 2012-04-26 18:46:23 +0200 |
|---|---|---|
| committer | Kenneth Andersson <kenneth.andersson@sonymobile.com> | 2012-08-14 10:49:12 +0200 |
| commit | 4db7e933f4c26e28f82dc912863f7d02d8fb94ab (patch) | |
| tree | 01162c2508799eb29c14afbeaf792522e7486fb2 /src/com/android/browser/WebViewController.java | |
| parent | 39e7dfee746d73670eea435024a80ae9dbedf176 (diff) | |
NPE in WallpaperHandler
In WallpaperHandler, BitmapFactory.decodeStream() is used to create
a Bitmap that is then set by WallpaperManager as a wallpaper.
This method has null as return value when something fails as
decoding, resulting in a nullpointer exception in WallpaperManager.
Adding nullcheck on the Bitmap before setting it as wallpaper to
avoid the NPE.
Change-Id: Ib1a0f9331898162b21094c3ebe80bc21d66f8bd7
Diffstat (limited to 'src/com/android/browser/WebViewController.java')
0 files changed, 0 insertions, 0 deletions
