diff options
author | Deepanshu Gupta <deepanshu@google.com> | 2015-04-29 10:44:51 -0700 |
---|---|---|
committer | Deepanshu Gupta <deepanshu@google.com> | 2015-05-01 21:38:02 +0000 |
commit | 0aa004c3cff627167e302d7320629ccb41cab585 (patch) | |
tree | 596ad996cf357fec2eca9669a600a3b30d65e879 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a00cf1276bf3d7b0b56d76a11f85cc73c2f4b882 (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