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

Commit 9c58bd56 authored by Yin-Chia Yeh's avatar Yin-Chia Yeh
Browse files

Camera NDK: document not all cameras are supported

Test: check html output of: frameworks/native/doc/make website
      (with a tweak in Doxyfile to add "__ANDROID__API__=24" to
       PREDEFINED)
Bug: 120916880

Change-Id: Idf93a13b9bbe2974fa4256de1f3ca67b7eee1bb6
parent 0e5a1b3b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -85,6 +85,11 @@ void ACameraManager_delete(ACameraManager* manager) __INTRODUCED_IN(24);
 * <p>ACameraManager_getCameraIdList will allocate and return an {@link ACameraIdList}.
 * The caller must call {@link ACameraManager_deleteCameraIdList} to free the memory</p>
 *
 * <p>Note: the returned camera list might be a subset to the output of <a href=
 * "https://developer.android.com/reference/android/hardware/camera2/CameraManager.html#getCameraIdList()">
 * SDK CameraManager#getCameraIdList API</a> as the NDK API does not support some legacy camera
 * hardware.</p>
 *
 * @param manager the {@link ACameraManager} of interest
 * @param cameraIdList the output {@link ACameraIdList} will be filled in here if the method call
 *        succeeds.