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

This commit is contained in:
TreeHugger Robot
2018-05-25 15:27:43 +00:00
committed by Android (Google) Code Review

View File

@@ -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>