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

Commit 80cab3e6 authored by Aayush Gupta's avatar Aayush Gupta
Browse files

Merge remote-tracking branch 'origin/lineage-18.1' into v1-r

parents 4bdcde8d 161e8a70
Loading
Loading
Loading
Loading
+12 −0
Original line number Original line Diff line number Diff line
@@ -1758,6 +1758,18 @@ public class CameraMetadataNative implements Parcelable {
    private static native int nativeGetTypeFromTag(int tag, long vendorId)
    private static native int nativeGetTypeFromTag(int tag, long vendorId)
            throws IllegalArgumentException;
            throws IllegalArgumentException;


    private synchronized byte[] nativeReadValues(int tag) {
        return nativeReadValues(tag, mMetadataPtr);
    }

    private synchronized int nativeGetTypeFromTagLocal(int tag) {
        return nativeGetTypeFromTagLocal(mMetadataPtr, tag);
    }

    private synchronized int nativeGetTagFromKeyLocal(String keyname) {
        return nativeGetTagFromKeyLocal(mMetadataPtr, keyname);
    }

    /**
    /**
     * <p>Perform a 0-copy swap of the internal metadata with another object.</p>
     * <p>Perform a 0-copy swap of the internal metadata with another object.</p>
     *
     *