CaptureModule: disable face detection for video mode
Change-Id: I3dd29bd86703750f8a471e4f039f82c7ecaf8a3b
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/src/com/android/camera/CaptureModule.java b/src/com/android/camera/CaptureModule.java
index c3f79e0..a9f96ce 100755
--- a/src/com/android/camera/CaptureModule.java
+++ b/src/com/android/camera/CaptureModule.java
@@ -3319,7 +3319,6 @@
private void applyVideoSnapshot(CaptureRequest.Builder builder, int id) {
builder.set(CaptureRequest.CONTROL_MODE, CaptureRequest.CONTROL_MODE_AUTO);
- applyFaceDetection(builder);
applyColorEffect(builder);
applyVideoFlash(builder);
applyVideoStabilization(builder);
@@ -4935,7 +4934,6 @@
applyNoiseReduction(builder);
applyColorEffect(builder);
applyVideoFlash(builder);
- applyFaceDetection(builder);
applyZoom(builder, cameraId);
applyVideoEncoderProfile(builder);
applyVideoEIS(builder);