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

Commit 568ccfe0 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Camera: Clarify multi-camera id selection logic" into pi-dev

parents a7641864 a57c274f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -813,6 +813,10 @@ public abstract class CameraMetadata<TKey> {
    /**
     * <p>The camera device is a logical camera backed by two or more physical cameras that are
     * also exposed to the application.</p>
     * <p>Camera application shouldn't assume that there are at most 1 rear camera and 1 front
     * camera in the system. For an application that switches between front and back cameras,
     * the recommendation is to switch between the first rear camera and the first front
     * camera in the list of supported camera devices.</p>
     * <p>This capability requires the camera device to support the following:</p>
     * <ul>
     * <li>This camera device must list the following static metadata entries in {@link android.hardware.camera2.CameraCharacteristics }:<ul>