summaryrefslogtreecommitdiffstats
path: root/services/camera/libcameraservice/CameraService.h
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2010-10-08 22:04:43 +0800
committerWu-cheng Li <wuchengli@google.com>2010-10-12 15:52:44 +0800
commit012716a857641a977afd16ff6be4bf66fc403884 (patch)
tree99310083065ae33d75b6b5c87a45a9b2dab096fc /services/camera/libcameraservice/CameraService.h
parent23d2071ab44d7b5e3b16e8a81e11884faf01092f (diff)
downloadframeworks_av-012716a857641a977afd16ff6be4bf66fc403884.zip
frameworks_av-012716a857641a977afd16ff6be4bf66fc403884.tar.gz
frameworks_av-012716a857641a977afd16ff6be4bf66fc403884.tar.bz2
Fix camera display orientation.
bug:3036262 Change-Id: I6fc3dc381fcfaceba09fd5bd14afb85045b3d676
Diffstat (limited to 'services/camera/libcameraservice/CameraService.h')
-rw-r--r--services/camera/libcameraservice/CameraService.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/camera/libcameraservice/CameraService.h b/services/camera/libcameraservice/CameraService.h
index d57364a..c8e0c88 100644
--- a/services/camera/libcameraservice/CameraService.h
+++ b/services/camera/libcameraservice/CameraService.h
@@ -166,6 +166,7 @@ private:
sp<CameraService> mCameraService; // immutable after constructor
sp<ICameraClient> mCameraClient;
int mCameraId; // immutable after constructor
+ int mCameraFacing; // immutable after constructor
pid_t mClientPid;
sp<CameraHardwareInterface> mHardware; // cleared after disconnect()
bool mUseOverlay; // immutable after constructor
@@ -176,6 +177,7 @@ private:
int mOrientation; // Current display orientation
// True if display orientation has been changed. This is only used in overlay.
int mOrientationChanged;
+ int mPreviewWindowFlag;
bool mPlayShutterSound;
// Ensures atomicity among the public methods