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/inc/OMXCameraAdapter | |
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/inc/OMXCameraAdapter')
-rw-r--r-- | camera/inc/OMXCameraAdapter/OMXCameraAdapter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h b/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h index e6921ed..06d7d73 100644 --- a/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h +++ b/camera/inc/OMXCameraAdapter/OMXCameraAdapter.h @@ -792,7 +792,7 @@ private: //current zoom Mutex mZoomLock; - unsigned int mCurrentZoomIdx, mTargetZoomIdx; + unsigned int mCurrentZoomIdx, mTargetZoomIdx, mPreviousZoomIndx; int mZoomInc; bool mReturnZoomStatus; static const int32_t ZOOM_STEPS []; |