summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDeepanshu Gupta <deepanshu@google.com>2015-07-29 14:24:25 -0700
committerDeepanshu Gupta <deepanshu@google.com>2015-07-29 15:34:38 -0700
commit78aa664b027dbcebb0d0dc1dca9f3a8172d9a78c (patch)
tree0b202b255b0359998b01c420b336bf5a3d2a2332 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent214466c777e11eb7c8ab569b8fd7d2c38357003a (diff)
Poor implementation of Path.approximate()
Include a very poor implementation of Path.approximate() in LayoutLib that only returns the first and last coordinate of the path. This avoids crashing the rendering when certain assumptions are made on the value returned from the method. Also change the error to a warning. Change-Id: I9241dec734d4df90a9eebd1e6de8b3e443eee3c8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions