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

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

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

* commit 'e4b47614':
  Add LayoutLibDelegate for new Bitmap method.
parents 4c20f59f e4b47614
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);