Skip to content

Commit

Permalink
Add SCENE_MODE_OFF support for Camera framework
Browse files Browse the repository at this point in the history
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
  • Loading branch information
chui101 committed Aug 22, 2012
1 parent 88d75bb commit 5d2cdae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/java/android/hardware/Camera.java
Original file line number Diff line number Diff line change
Expand Up @@ -1849,6 +1849,12 @@ public class Parameters {
*/
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
Expand Down

0 comments on commit 5d2cdae

Please sign in to comment.