commit | 78aa664b027dbcebb0d0dc1dca9f3a8172d9a78c | [log] [tgz] |
---|---|---|
author | Deepanshu Gupta <deepanshu@google.com> | Wed Jul 29 14:24:25 2015 -0700 |
committer | Deepanshu Gupta <deepanshu@google.com> | Wed Jul 29 15:34:38 2015 -0700 |
tree | 0b202b255b0359998b01c420b336bf5a3d2a2332 | |
parent | 214466c777e11eb7c8ab569b8fd7d2c38357003a [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