henry.uh_chen 42856eb4f1 [Bitmap] Add null pointer protection in Bitmap_sameAs()
Symptom: SkBitmap::getAddr(int, int) may return NULL due to unrecognized config 
(ex: kRLE_Index8_Config). This will cause memcmp method to crash. Since bm0 and 
bm1 both have pixel data() (have passed NULL == getPixels() check), those 2 
bitmaps should be valid (only unrecognized), we return JNI_FALSE to warn user 
those 2 unrecognized config bitmaps may be different.


Change-Id: I6970c27de412110a3035d0a783112c4cd3ebc35b
2014-07-03 12:44:47 +00:00
2014-06-30 16:20:27 +01:00
2014-06-20 14:10:00 -07:00
2013-05-21 12:38:22 -07:00
2013-09-12 19:07:28 -07:00
2014-06-18 17:43:27 -07:00
2014-06-18 17:43:27 -07:00
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%