Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5e6298b authored by Deepanshu Gupta's avatar Deepanshu Gupta
Browse files

Add LayoutLibDelegate for new Bitmap method.

Original method added in: 721ae5fe

Change-Id: Ie14d132459638cf103c390fae3f4c0c02bef2f34
parent 769832d1
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -273,6 +273,13 @@ public final class Bitmap_Delegate {
                Bitmap.getDefaultDensity());
    }

    @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);