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

Commit f61a9e44 authored by Shuzhen Wang's avatar Shuzhen Wang Committed by android-build-merger
Browse files

Merge "Camera: Document getNumberOfCameras behavior for logical camera" into pi-dev am: fe8c2630

am: 7696265e

Change-Id: I5e5ab8aaf98e55a2ebd512b41b8caa25c8232024
parents efb4b1b5 7696265e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -263,6 +263,12 @@ public class Camera {
     * supports external cameras and an external camera is connected or
     * disconnected.
     *
     * If there is a
     * {@link android.hardware.camera2.CameraCharacteristics#REQUEST_AVAILABLE_CAPABILITIES_LOGICAL_MULTI_CAMERA
     * logical multi-camera} in the system, to maintain app backward compatibility, this method will
     * only expose one camera for every logical camera and underlying physical cameras group.
     * Use camera2 API to see all cameras.
     *
     * @return total number of accessible camera devices, or 0 if there are no
     *   cameras or an error was encountered enumerating them.
     */