Camera: Clarify multi-camera id selection logic

Test: Compile
Bug: 80075565
Change-Id: I12d95b7b0248ab8c3e8fb9e42cac3ed6475e499b
This commit is contained in:
Shuzhen Wang
2018-05-23 11:19:59 -07:00
parent 402e2a2b6f
commit a57c274fc4

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>