diff options
author | Narayan Kamath <narayan@google.com> | 2014-01-29 09:38:37 +0000 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2014-01-29 09:42:29 +0000 |
commit | e55bc7f1575fc5dacac70c4cb209e6aa0c582e71 (patch) | |
tree | b37dc116244df6462c9196d666a66c304c26bb93 /graphics | |
parent | 2b033dce9f252ae30ac88c9ba1569d18afaaf2cf (diff) | |
download | frameworks_base-e55bc7f1575fc5dacac70c4cb209e6aa0c582e71.zip frameworks_base-e55bc7f1575fc5dacac70c4cb209e6aa0c582e71.tar.gz frameworks_base-e55bc7f1575fc5dacac70c4cb209e6aa0c582e71.tar.bz2 |
Path.native_trim should return long, not int.
Change-Id: Idafc4c58eb86ad1af614d31f8cb05216bd869482
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/java/android/graphics/Path.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/java/android/graphics/Path.java b/graphics/java/android/graphics/Path.java index 5ac3f85..def1db6 100644 --- a/graphics/java/android/graphics/Path.java +++ b/graphics/java/android/graphics/Path.java @@ -875,7 +875,7 @@ public class Path { private static native boolean native_op(long path1, long path2, int op, long result); private static native void finalizer(long nPath); private static native float[] native_approximate(long nPath, float error); - private static native int native_trim(long nPath, long nTargetPath, long nPathMeasure, + private static native long native_trim(long nPath, long nTargetPath, long nPathMeasure, float trimStart, float trimEnd, float trimOffset); private static native void native_destroyMeasure(long nPathMeasure); } |