diff options
-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, ""); } |