diff options
| author | 2012-05-08 10:54:41 -0700 | |
|---|---|---|
| committer | 2012-05-08 10:54:41 -0700 | |
| commit | 92d7f9ff1c0c8a179ee935d86d3c94022980ead2 (patch) | |
| tree | 168df18d96613f69541483a11164990526d33d12 /graphics/java | |
| parent | 947f1c8db00bd3805838ff49a5f4d220df507b47 (diff) | |
| parent | 30ca5cd11a23f06f2f8eeaa587685450826f800f (diff) | |
Merge "Fix bug #6408393 Character corruption is caused when locale is changed" into jb-dev
Diffstat (limited to 'graphics/java')
| -rw-r--r-- | graphics/java/android/graphics/Canvas.java | 7 |
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, |