OSDN Git Service

Add LayoutLibDelegate for new Bitmap method.
authorDeepanshu Gupta <deepanshu@google.com>
Thu, 21 May 2015 23:03:24 +0000 (16:03 -0700)
committerDeepanshu Gupta <deepanshu@google.com>
Thu, 21 May 2015 23:07:15 +0000 (23:07 +0000)
Original method added in: 721ae5fec5f1fd4f93aa2a361a0ac298e15ce353

Change-Id: Ie14d132459638cf103c390fae3f4c0c02bef2f34

tools/layoutlib/bridge/src/android/graphics/Bitmap_Delegate.java

index 874bc9d..9dc1af0 100644 (file)
@@ -274,6 +274,13 @@ public final class Bitmap_Delegate {
     }
 
     @LayoutlibDelegate
+    /*package*/ static Bitmap nativeCopyAshmem(long nativeSrcBitmap) {
+        // Unused method; no implementation provided.
+        assert false;
+        return null;
+    }
+
+    @LayoutlibDelegate
     /*package*/ static void nativeDestructor(long nativeBitmap) {
         sManager.removeJavaReferenceFor(nativeBitmap);
     }