diff options
author | Emilian Peev <epeev@mm-sol.com> | 2012-11-07 12:32:32 +0200 |
---|---|---|
committer | Daniel Levin <dendy@ti.com> | 2012-11-26 20:09:18 +0200 |
commit | b1761a91e627e87c219b06f8852dbb7c37dc653a (patch) | |
tree | 46fb56d0141fbce381881e6010b110f41a7ce01f /camera | |
parent | 0069285d06d1bed96e407c97e7629800c3c53a14 (diff) | |
download | hardware_ti_omap4-b1761a91e627e87c219b06f8852dbb7c37dc653a.zip hardware_ti_omap4-b1761a91e627e87c219b06f8852dbb7c37dc653a.tar.gz hardware_ti_omap4-b1761a91e627e87c219b06f8852dbb7c37dc653a.tar.bz2 |
CameraHal: Fix capture mode reset during preview restart
- The capture mode could be reset to the default "HQ"
if the preview is restarted by new client camera
parameters ( for instance when preview resolution changes).
Change-Id: Ic7e361ba0b7b1347fd3cbf08eca27f3928a2ba85
Signed-off-by: Emilian Peev <epeev@mm-sol.com>
Diffstat (limited to 'camera')
-rw-r--r-- | camera/CameraHal.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/camera/CameraHal.cpp b/camera/CameraHal.cpp index 7754d51..a1d239c 100644 --- a/camera/CameraHal.cpp +++ b/camera/CameraHal.cpp @@ -2791,7 +2791,6 @@ status_t CameraHal::restartPreview() android::AutoMutex lock(mLock); if (!mCapModeBackup.isEmpty()) { mParameters.set(TICameraParameters::KEY_CAP_MODE, mCapModeBackup.string()); - mCapModeBackup = ""; } else { mParameters.set(TICameraParameters::KEY_CAP_MODE, ""); } |