summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2016-02-02 11:11:55 -0500
committerLeon Scroggins <scroggo@google.com>2016-02-02 19:05:02 +0000
commit66ce1c3b1a7b5ed3d4d5a9a05a7c133998c9a73e (patch)
tree784bf702a8b3141c348ed407df8aff9da16a28b8 /tools/aapt2/java/JavaClassGenerator.cpp
parentfe54b11803e7940d23b6c540b2e6db738299702c (diff)
Lock SkBitmap before accessing color table
This only affects kIndex_8 Bitmaps, which can only be created by decoding particular images (e.g. GIF). Without locking the SkBitmap, colorTable() always returns NULL. Lock it so we can write the color table to the Parcel. BUG:26527976 Change-Id: Ifc54b06ca08db26ba6455a3830b7e671b64f37c4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions