summaryrefslogtreecommitdiff
path: root/graphics/java/android
diff options
context:
space:
mode:
author Fabrice Di Meglio <fdimeglio@google.com> 2012-05-08 10:54:41 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2012-05-08 10:54:41 -0700
commit92d7f9ff1c0c8a179ee935d86d3c94022980ead2 (patch)
tree168df18d96613f69541483a11164990526d33d12 /graphics/java/android
parent947f1c8db00bd3805838ff49a5f4d220df507b47 (diff)
parent30ca5cd11a23f06f2f8eeaa587685450826f800f (diff)
Merge "Fix bug #6408393 Character corruption is caused when locale is changed" into jb-dev
Diffstat (limited to 'graphics/java/android')
-rw-r--r--graphics/java/android/graphics/Canvas.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/java/android/graphics/Canvas.java b/graphics/java/android/graphics/Canvas.java
index 7e9297381733..3949afdd4a2a 100644
--- a/graphics/java/android/graphics/Canvas.java
+++ b/graphics/java/android/graphics/Canvas.java
@@ -1617,6 +1617,13 @@ public class Canvas {
*/
public static native void freeCaches();
+ /**
+ * Free up text layout caches
+ *
+ * @hide
+ */
+ public static native void freeTextLayoutCaches();
+
private static native int initRaster(int nativeBitmapOrZero);
private static native void native_setBitmap(int nativeCanvas, int bitmap);
private static native int native_saveLayer(int nativeCanvas, RectF bounds,