From cf36cd1ecc4fc798fde70b1d16e254fc1d000179 Mon Sep 17 00:00:00 2001 From: Jayant Chowdhary Date: Fri, 14 Feb 2020 14:01:49 -0800 Subject: [PATCH] camera2: Update documentation for getConcurrentStreamingCameraIds to account for availability callbacks. Bug: 148995918 Test: builds Test: make doc-comment-check-docs Change-Id: Ib6f09034c470a7439912fb4aa569b6e1f69db5ab Signed-off-by: Jayant Chowdhary --- core/java/android/hardware/camera2/CameraManager.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/java/android/hardware/camera2/CameraManager.java b/core/java/android/hardware/camera2/CameraManager.java index 17c83f3a7eb99..743ce7b467921 100644 --- a/core/java/android/hardware/camera2/CameraManager.java +++ b/core/java/android/hardware/camera2/CameraManager.java @@ -140,6 +140,11 @@ public final class CameraManager { *

The set of combinations doesn't contain physical cameras that can only be used as * part of a logical multi-camera device.

* + *

If a new camera id becomes available through + * {@link AvailabilityCallback#onCameraUnavailable(String)}, clients can call + * this method to check if new combinations of camera ids which can stream concurrently are + * available. + * * @return The set of combinations of currently connected camera devices, that may have * sessions configured concurrently. The set of combinations will be empty if no such * combinations are supported by the camera subsystem.