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

Commit b6747d71 authored by Abhishek Pant's avatar Abhishek Pant Committed by Gerrit - the friendly Code Review server
Browse files

Framework: Adding support for Auto HDR

Adding support for Auto HDR for camera

CRs-fixed: 629556

Change-Id: Ie5e4718524d2ed799f1f9af1f76e89c01d743ac8
parent 04de1528
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -4218,6 +4218,7 @@ public class Camera {
        private static final String KEY_QC_WB_MANUAL_CCT = "wb-manual-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
@@ -5147,6 +5148,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.