diff options
author | Akwasi Boateng <akwasi.boateng@ti.com> | 2011-09-22 21:21:17 -0500 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-09-23 14:36:23 -0700 |
commit | f9e7d93cfc739190426ae5c3d204980ec8b2e475 (patch) | |
tree | a5dc6e1fe5093d9c359d4b247658793ad2b0b86f /camera/OMXCameraAdapter/OMXCameraAdapter.cpp | |
parent | 9f3f04aef58cac9615677094e7846a8ce2a4fe57 (diff) | |
download | hardware_ti_omap4xxx-f9e7d93cfc739190426ae5c3d204980ec8b2e475.zip hardware_ti_omap4xxx-f9e7d93cfc739190426ae5c3d204980ec8b2e475.tar.gz hardware_ti_omap4xxx-f9e7d93cfc739190426ae5c3d204980ec8b2e475.tar.bz2 |
Make previous zoom index a member variable
Change previous zoom index variable from static to
member variable since variable is not reset when
application is closed or during suspend resume.
Change-Id: I7a757655dc7e5b30d21716dd38908f3d18131cde
Signed-off-by: Akwasi Boateng <akwasi.boateng@ti.com>
Diffstat (limited to 'camera/OMXCameraAdapter/OMXCameraAdapter.cpp')
-rw-r--r-- | camera/OMXCameraAdapter/OMXCameraAdapter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/camera/OMXCameraAdapter/OMXCameraAdapter.cpp b/camera/OMXCameraAdapter/OMXCameraAdapter.cpp index 25d0089..9949e99 100644 --- a/camera/OMXCameraAdapter/OMXCameraAdapter.cpp +++ b/camera/OMXCameraAdapter/OMXCameraAdapter.cpp @@ -243,6 +243,7 @@ status_t OMXCameraAdapter::initialize(CameraProperties::Properties* caps, int se mPictureQuality = 100; mCurrentZoomIdx = 0; mTargetZoomIdx = 0; + mPreviousZoomIndx = 0; mReturnZoomStatus = false; mZoomInc = 1; mZoomParameterIdx = 0; |