diff options
| author | 2010-12-13 11:13:32 -0800 | |
|---|---|---|
| committer | 2010-12-13 17:21:12 -0800 | |
| commit | dee4cb07a3652457e18a0bf4be57d2cedeca7359 (patch) | |
| tree | a220e8d123e7f6e0b5be972a1f9d75722ce8bfed /libs/hwui/ResourceCache.cpp | |
| parent | 128b6ba93d0549fd2beff4482678e1229dc1cf3d (diff) | |
Avoid SIGSEGV in Bitmap_writeToParcel.
SkBitmap::getPixels() can return NULL. The rest of the JNI Bitmap
code treats this NULL as if the SkBitmap has transparent black
pixels. Bitmap_writeToParcel now does the same.
Change-Id: I5e70b42b3d22a8aea898ce342e590000325bd0f9
Diffstat (limited to 'libs/hwui/ResourceCache.cpp')
0 files changed, 0 insertions, 0 deletions