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

Commit 994b4b90 authored by Abhishek Pant's avatar Abhishek Pant Committed by Linux Build Service Account
Browse files

Framework: Adding support for Auto HDR

Adding support for Auto HDR for camera

CRs-fixed: 629556

Change-Id: Ie5e4718524d2ed799f1f9af1f76e89c01d743ac8
parent c6201a3a
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -4514,6 +4514,7 @@ public class Camera {
        private static final String KEY_QC_WB_CURRENT_CCT = "wb-current-cct";
        private static final String KEY_QC_MIN_WB_CCT = "min-wb-cct";
        private static final String KEY_QC_MAX_WB_CCT = "max-wb-cct";
        private static final String KEY_QC_AUTO_HDR_ENABLE = "auto-hdr-enable";

        /** @hide
        * KEY_QC_AE_BRACKET_HDR
@@ -5447,6 +5448,15 @@ public class Camera {
            set(KEY_QC_ZSL, zsl);
         }

         /** @hide
         * Sets the current Auto HDR Mode.
         * @ auto_hdr auto hdr string for enable/disable
         * @return null
         */
         public void setAutoHDRMode(String auto_hdr){
             set(KEY_QC_AUTO_HDR_ENABLE,auto_hdr);
         }

         /** @hide
         * Gets the current Camera Mode Flag. Camera mode includes a
         * flag(byte) which indicates different camera modes.