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

Commit b316ce38 authored by Deepanshu Gupta's avatar Deepanshu Gupta Committed by Android Git Automerger
Browse files

am f9c87059: am fa185b55: am e4b47614: Merge "Add LayoutLibDelegate for new...

am f9c87059: am fa185b55: am e4b47614: Merge "Add LayoutLibDelegate for new Bitmap method." into mnc-dev

* commit 'f9c87059':
  Add LayoutLibDelegate for new Bitmap method.
parents 5b4837a2 f9c87059
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -273,6 +273,13 @@ public final class Bitmap_Delegate {
                Bitmap.getDefaultDensity());
                Bitmap.getDefaultDensity());
    }
    }


    @LayoutlibDelegate
    /*package*/ static Bitmap nativeCopyAshmem(long nativeSrcBitmap) {
        // Unused method; no implementation provided.
        assert false;
        return null;
    }

    @LayoutlibDelegate
    @LayoutlibDelegate
    /*package*/ static void nativeDestructor(long nativeBitmap) {
    /*package*/ static void nativeDestructor(long nativeBitmap) {
        sManager.removeJavaReferenceFor(nativeBitmap);
        sManager.removeJavaReferenceFor(nativeBitmap);