diff options
author | Deepanshu Gupta <deepanshu@google.com> | 2015-05-21 16:03:24 -0700 |
---|---|---|
committer | Deepanshu Gupta <deepanshu@google.com> | 2015-05-21 23:07:15 +0000 |
commit | a5e6298b35fa212a7f20740174c553ce4079cce2 (patch) | |
tree | 2f3ee6a87b9a003d15fed97c3ecb9fe1c2963ce9 /tools | |
parent | 769832d11163abaa8a355650e796c2e39d7e0f3d (diff) | |
download | frameworks_base-a5e6298b35fa212a7f20740174c553ce4079cce2.zip frameworks_base-a5e6298b35fa212a7f20740174c553ce4079cce2.tar.gz frameworks_base-a5e6298b35fa212a7f20740174c553ce4079cce2.tar.bz2 |
Add LayoutLibDelegate for new Bitmap method.
Original method added in: 721ae5fec5f1fd4f93aa2a361a0ac298e15ce353
Change-Id: Ie14d132459638cf103c390fae3f4c0c02bef2f34
Diffstat (limited to 'tools')
-rw-r--r-- | tools/layoutlib/bridge/src/android/graphics/Bitmap_Delegate.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/layoutlib/bridge/src/android/graphics/Bitmap_Delegate.java b/tools/layoutlib/bridge/src/android/graphics/Bitmap_Delegate.java index 874bc9d..9dc1af0 100644 --- a/tools/layoutlib/bridge/src/android/graphics/Bitmap_Delegate.java +++ b/tools/layoutlib/bridge/src/android/graphics/Bitmap_Delegate.java @@ -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); } |