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

Commit 5d2cdae3 authored by Roger Chui's avatar Roger Chui
Browse files

Add SCENE_MODE_OFF support for Camera framework

Some cameras such as on C800 (LG) need SCENE_MODE_OFF instead
of SCENE_MODE_AUTO. Otherwise Camera HAL thinks there is an
active scene mode and disables certain features. Changes in
both Framework and Camera App necessary.

Change-Id: Ieb510d2070853463be295497f945f930de220ba4
parent 88d75bb1
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1849,6 +1849,12 @@ public class Camera {
         */
        public static final String FLASH_MODE_TORCH = "torch";

        /**
         * Scene mode is off. (for some QCom)
         * @hide
         */
        public static final String SCENE_MODE_OFF = "off";

        /**
         * Scene mode is off.
         * @hide