OSDN Git Service

Fix bugs introduced in 78aa664.
authorDeepanshu Gupta <deepanshu@google.com>
Fri, 31 Jul 2015 18:33:25 +0000 (11:33 -0700)
committerDeepanshu Gupta <deepanshu@google.com>
Fri, 31 Jul 2015 20:00:05 +0000 (13:00 -0700)
commit7b1e486e8778c042eb95e1517ed4ff8cac461759
tree59d9c474b38f720a4f5b0cec5fb016f7a4f916ee
parente836a229aefb0ff3b82e19a422590fb7c4bd5148
Fix bugs introduced in 78aa664.

Fix a couple of bugs (ArrayIndexOutOfBoundsException due to
miscalculation and a typo - swapped src and dst) introduced in the CL:
78aa664 Poor implementation of Path.approximate()

Change-Id: Iff7dbbf66d2714df51699ddb9a4169c38feefa7b
tools/layoutlib/bridge/src/android/graphics/Path_Delegate.java