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

Commit 6b2a6531 authored by Andrei-Valentin Onea's avatar Andrei-Valentin Onea Committed by Automerger Merge Worker
Browse files

Merge "Add method to greylist" into rvc-dev am: 1775d16a am: 4a9ceaaf

Change-Id: I1ea3a6253403b1b200b5fb70a2a3ec14847fb8d1
parents 7d88bfe7 4a9ceaaf
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package android.hardware.camera2;

import android.annotation.NonNull;
import android.compat.annotation.UnsupportedAppUsage;
import android.hardware.camera2.impl.CameraMetadataNative;
import android.hardware.camera2.impl.PublicKey;
import android.hardware.camera2.impl.SyntheticKey;
@@ -100,6 +101,8 @@ public abstract class CameraMetadata<TKey> {
     *
     * @hide
     */
    @UnsupportedAppUsage(publicAlternatives = "This method is exposed for native "
                        + "{@code ACameraMetadata_fromCameraMetadata} in {@code libcamera2ndk}.")
    public long getNativeMetadataPtr() {
        if (mNativeInstance == null) {
            return 0;