summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2012-05-08 17:14:18 -0700
committerXavier Ducrohet <xav@android.com>2012-05-08 17:14:18 -0700
commitf18c68b83f4919cf903e249da056acb470b683af (patch)
tree56ebc10498d0d25156114dc3b6787cb49af44b61 /tools
parent5602d02389c2b945e8d78ea34990933a8e1ddc8b (diff)
downloadframeworks_base-f18c68b83f4919cf903e249da056acb470b683af.zip
frameworks_base-f18c68b83f4919cf903e249da056acb470b683af.tar.gz
frameworks_base-f18c68b83f4919cf903e249da056acb470b683af.tar.bz2
Add missing native method to Canvas_Delegate.
Change-Id: I86288c942004e5489eacc43ba5e112cf56f94487
Diffstat (limited to 'tools')
-rw-r--r--tools/layoutlib/bridge/src/android/graphics/Canvas_Delegate.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/layoutlib/bridge/src/android/graphics/Canvas_Delegate.java b/tools/layoutlib/bridge/src/android/graphics/Canvas_Delegate.java
index 16f1575..9aed8c8 100644
--- a/tools/layoutlib/bridge/src/android/graphics/Canvas_Delegate.java
+++ b/tools/layoutlib/bridge/src/android/graphics/Canvas_Delegate.java
@@ -307,6 +307,11 @@ public final class Canvas_Delegate {
}
@LayoutlibDelegate
+ /*package*/ static void freeTextLayoutCaches() {
+ // nothing to be done here yet.
+ }
+
+ @LayoutlibDelegate
/*package*/ static int initRaster(int nativeBitmapOrZero) {
if (nativeBitmapOrZero > 0) {
// get the Bitmap from the int