summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/24/changes
diff options
context:
space:
mode:
authorhenry.uh_chen <henry.uh_chen@htc.com>2014-07-03 20:40:22 +0800
committerChen Henry <henry.uh_chen@htc.com>2014-07-03 12:44:47 +0000
commit42856eb4f11a13391fbbeb80481d543568404cd7 (patch)
tree4a0c8ebf5aa7b55504f2e8be40f972706811419b /docs/html/sdk/api_diff/24/changes
parent1dc550fa7333257a130d71866be37181f8ee553b (diff)
[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
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions