Camera: Fix duplicated code.
authorEino-Ville Talvala <etalvala@google.com>
Fri, 4 Jan 2013 22:26:49 +0000 (14:26 -0800)
committerEino-Ville Talvala <etalvala@google.com>
Fri, 4 Jan 2013 23:14:07 +0000 (15:14 -0800)
Due to two identical commits (15fd82319b and 6d8e5b08) getting merged
into jb-mr1-dev and master, duplicate code ended up in the camera
library after the second commit automerged into master.

Remove the duplicate lines to fix CTS failure.

Change-Id: Id91e3c9775f7191d1725cb6866fd2d972c3a0584

libcamera2/ExynosCameraHWInterface2.cpp

index 5b399ec4676556ac1c437d7544a95a84ed4b7a62..ea90d0549625eb5a14ff62d70903556a3832434a 100644 (file)
@@ -3229,14 +3229,6 @@ void ExynosCameraHWInterface2::m_sensorThreadFunc(SignalDrivenThread * self)
             } else {
                 shot_ext->setfile = ISS_SUB_SCENARIO_STILL;
             }
-            if (m_wideAspect) {
-//                shot_ext->setfile = ISS_SUB_SCENARIO_VIDEO;
-                shot_ext->shot.ctl.aa.aeTargetFpsRange[0] = 30;
-                shot_ext->shot.ctl.aa.aeTargetFpsRange[1] = 30;
-            }
-            else {
-//                shot_ext->setfile = ISS_SUB_SCENARIO_STILL;
-            }
             if (triggered)
                 shot_ext->shot.ctl.aa.afTrigger = 1;