summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/Camera.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/Camera.java')
-rw-r--r--src/com/android/camera/Camera.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/camera/Camera.java b/src/com/android/camera/Camera.java
index 4ed9aba..2e4de8c 100644
--- a/src/com/android/camera/Camera.java
+++ b/src/com/android/camera/Camera.java
@@ -519,6 +519,8 @@ public class Camera extends ActivityBase implements View.OnClickListener,
mFaceListener = new FaceListener(this,
(ViewGroup) findViewById(R.id.frame), mDisplayOrientation);
}
+ CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId];
+ mFaceListener.setMirror(info.facing == CameraInfo.CAMERA_FACING_FRONT);
mCameraDevice.setFaceDetectionListener(mFaceListener);
mCameraDevice.startFaceDetection();
}