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

Commit b24806f9 authored by Shuzhen Wang's avatar Shuzhen Wang
Browse files

Camera: ndk: Improve docs for activePhysicalId metadata key

Test: Read updated docs
Bug: 125346954
Change-Id: I0f0c071a98fb5f23c3db257d3e5cb63a96e8fad8
parent e724f2bc
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -5688,13 +5688,17 @@ typedef enum acamera_metadata_tag {
     *
     * <p>The ID of the active physical camera that's backing the logical camera. All camera
     * streams and metadata that are not physical camera specific will be originating from this
     * physical camera. This must be one of valid physical IDs advertised in the physicalIds
     * static tag.</p>
     * physical camera.</p>
     * <p>For a logical camera made up of physical cameras where each camera's lenses have
     * different characteristics, the camera device may choose to switch between the physical
     * cameras when application changes FOCAL_LENGTH or SCALER_CROP_REGION.
     * At the time of lens switch, this result metadata reflects the new active physical camera
     * ID.</p>
     * <p>This key will be available if the camera device advertises this key via {@link ACAMERA_REQUEST_AVAILABLE_RESULT_KEYS }.
     * When available, this must be one of valid physical IDs backing this logical multi-camera.
     * If this key is not available for a logical multi-camera, the camera device implementation
     * may still switch between different active physical cameras based on use case, but the
     * current active physical camera information won't be available to the application.</p>
     */
    ACAMERA_LOGICAL_MULTI_CAMERA_ACTIVE_PHYSICAL_ID =           // byte
            ACAMERA_LOGICAL_MULTI_CAMERA_START + 2,