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

Commit 00645f11 authored by Chien-Yu Chen's avatar Chien-Yu Chen
Browse files

camera: Update for enableZsl values in template

For apps targeting SDK versions O and newer, the value of enableZsl
may be true in still capture template. the value of enableZsl is
always false for other templates.

For apps targeting SDK versions older than O, the value of enableZsl
is always flase.

Test: make
Bug: 34983527
Change-Id: I06b2a18254a78bd6505e9b6e6addc09ebf0f925f
parent 823451d7
Loading
Loading
Loading
Loading
+5 −1
Original line number Original line Diff line number Diff line
@@ -1542,7 +1542,11 @@ typedef enum acamera_metadata_tag {
     * request A.</p>
     * request A.</p>
     * <p>Note that when enableZsl is <code>true</code>, it is not guaranteed to get output images captured in the
     * <p>Note that when enableZsl is <code>true</code>, it is not guaranteed to get output images captured in the
     * past for requests with STILL_CAPTURE capture intent.</p>
     * past for requests with STILL_CAPTURE capture intent.</p>
     * <p>The value of enableZsl in capture templates is always <code>false</code> if present.</p>
     * <p>For applications targeting SDK versions O and newer, the value of enableZsl in
     * TEMPLATE_STILL_CAPTURE template may be <code>true</code>. The value in other templates is always
     * <code>false</code> if present.</p>
     * <p>For applications targeting SDK versions older than O, the value of enableZsl in all
     * capture templates is always <code>false</code> if present.</p>
     *
     *
     * @see ACAMERA_CONTROL_CAPTURE_INTENT
     * @see ACAMERA_CONTROL_CAPTURE_INTENT
     * @see ACAMERA_SENSOR_TIMESTAMP
     * @see ACAMERA_SENSOR_TIMESTAMP