commit | 78cfdf31b7c48589ea3a148ec1d6d573235bc06b | [log] [tgz] |
---|---|---|
author | Deepanshu Gupta <deepanshu@google.com> | Mon Nov 11 19:44:11 2013 +0530 |
committer | Deepanshu Gupta <deepanshu@google.com> | Wed Nov 13 18:15:51 2013 +0530 |
tree | 04db69a34644affc996ddaf492bf77a9809d501f | |
parent | 218ecd43946001f07b60757db130ef5585d474d3 [diff] |
Update changed delegate method in Bitmap_Delegate. DO NOT MERGE Issue: https://code.google.com/p/android/issues/detail?id=60167 Change-Id: I3e1d6b9d52ca899889ba758b0ea91bd742cf5005
diff --git a/tools/layoutlib/bridge/src/android/graphics/Bitmap_Delegate.java b/tools/layoutlib/bridge/src/android/graphics/Bitmap_Delegate.java index ec284ac..93284db 100644 --- a/tools/layoutlib/bridge/src/android/graphics/Bitmap_Delegate.java +++ b/tools/layoutlib/bridge/src/android/graphics/Bitmap_Delegate.java
@@ -308,8 +308,9 @@ } @LayoutlibDelegate - /*package*/ static void nativeRecycle(int nativeBitmap) { + /*package*/ static boolean nativeRecycle(int nativeBitmap) { sManager.removeJavaReferenceFor(nativeBitmap); + return true; } @LayoutlibDelegate