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: I4819495d5ce74773cc410f0d1aa9bef4bb4bf2be
diff --git a/camera/docs/docs.html b/camera/docs/docs.html
index cd32beb..96a16e4 100644
--- a/camera/docs/docs.html
+++ b/camera/docs/docs.html
@@ -4293,9 +4293,13 @@
 <p>The output images for request B may have contents captured before the output images for
 request A,<wbr/> and the result metadata for request B may be older than the result metadata for
 request A.<wbr/></p>
-<p>Note that when enableZsl is <code>true</code>,<wbr/> it is not guaranteed to get output images captured in the
-past for requests with STILL_<wbr/>CAPTURE capture intent.<wbr/></p>
-<p>The value of enableZsl in capture templates is always <code>false</code> if present.<wbr/></p>
+<p>Note that when enableZsl is <code>true</code>,<wbr/> it is not guaranteed to get output images captured in
+the past for requests with STILL_<wbr/>CAPTURE capture intent.<wbr/></p>
+<p>For applications targeting SDK versions O and newer,<wbr/> the value of enableZsl in
+TEMPLATE_<wbr/>STILL_<wbr/>CAPTURE template may be <code>true</code>.<wbr/> The value in other templates is always
+<code>false</code> if present.<wbr/></p>
+<p>For applications targeting SDK versions older than O,<wbr/> the value of enableZsl in all
+capture templates is always <code>false</code> if present.<wbr/></p>
             </td>
           </tr>
 
@@ -9021,9 +9025,13 @@
 <p>The output images for request B may have contents captured before the output images for
 request A,<wbr/> and the result metadata for request B may be older than the result metadata for
 request A.<wbr/></p>
-<p>Note that when enableZsl is <code>true</code>,<wbr/> it is not guaranteed to get output images captured in the
-past for requests with STILL_<wbr/>CAPTURE capture intent.<wbr/></p>
-<p>The value of enableZsl in capture templates is always <code>false</code> if present.<wbr/></p>
+<p>Note that when enableZsl is <code>true</code>,<wbr/> it is not guaranteed to get output images captured in
+the past for requests with STILL_<wbr/>CAPTURE capture intent.<wbr/></p>
+<p>For applications targeting SDK versions O and newer,<wbr/> the value of enableZsl in
+TEMPLATE_<wbr/>STILL_<wbr/>CAPTURE template may be <code>true</code>.<wbr/> The value in other templates is always
+<code>false</code> if present.<wbr/></p>
+<p>For applications targeting SDK versions older than O,<wbr/> the value of enableZsl in all
+capture templates is always <code>false</code> if present.<wbr/></p>
             </td>
           </tr>
 
diff --git a/camera/docs/metadata_properties.xml b/camera/docs/metadata_properties.xml
index 275390d..f2fa1a8 100644
--- a/camera/docs/metadata_properties.xml
+++ b/camera/docs/metadata_properties.xml
@@ -2822,10 +2822,15 @@
           request A, and the result metadata for request B may be older than the result metadata for
           request A.
 
-          Note that when enableZsl is `true`, it is not guaranteed to get output images captured in the
-          past for requests with STILL_CAPTURE capture intent.
+          Note that when enableZsl is `true`, it is not guaranteed to get output images captured in
+          the past for requests with STILL_CAPTURE capture intent.
 
-          The value of enableZsl in capture templates is always `false` if present.
+          For applications targeting SDK versions O and newer, the value of enableZsl in
+          TEMPLATE_STILL_CAPTURE template may be `true`. The value in other templates is always
+          `false` if present.
+
+          For applications targeting SDK versions older than O, the value of enableZsl in all
+          capture templates is always `false` if present.
           </details>
           <hal_details>
           It is valid for HAL to produce regular output images for requests with STILL_CAPTURE
diff --git a/camera/docs/ndk_metadata_properties.xml b/camera/docs/ndk_metadata_properties.xml
index a9f0692..6eb95f7 100644
--- a/camera/docs/ndk_metadata_properties.xml
+++ b/camera/docs/ndk_metadata_properties.xml
@@ -2843,7 +2843,12 @@
           Note that when enableZsl is `true`, it is not guaranteed to get output images captured in the
           past for requests with STILL_CAPTURE capture intent.
 
-          The value of enableZsl in capture templates is always `false` if present.
+          For applications targeting SDK versions O and newer, the value of enableZsl in
+          TEMPLATE_STILL_CAPTURE template may be `true`. The value in other templates is always
+          `false` if present.
+
+          For applications targeting SDK versions older than O, the value of enableZsl in all
+          capture templates is always `false` if present.
           </details>
           <hal_details>
           It is valid for HAL to produce regular output images for requests with STILL_CAPTURE