summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDeepanshu Gupta <deepanshu@google.com>2015-04-29 10:44:51 -0700
committerDeepanshu Gupta <deepanshu@google.com>2015-05-01 21:38:02 +0000
commit0aa004c3cff627167e302d7320629ccb41cab585 (patch)
tree596ad996cf357fec2eca9669a600a3b30d65e879 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta00cf1276bf3d7b0b56d76a11f85cc73c2f4b882 (diff)
LayoutLib: fix crash when shadow size <=0.
Drawing empty rects results in IllegalArgumentException on Mac JRE 1.6. Prevent that by checking the bounds before attempting to draw the rect. Bug: 20687353 Change-Id: I45f48ee125196480bb6510cc49b24d2122bc3e48
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions