Loading services/camera/libcameraservice/Camera2Client.cpp +35 −33 Original line number Diff line number Diff line Loading @@ -1068,6 +1068,7 @@ status_t Camera2Client::takePicture(int msgType) { status_t res; if ( (res = checkPid(__FUNCTION__) ) != OK) return res; { SharedParameters::Lock l(mParameters); switch (l.mParameters.state) { case Parameters::DISCONNECTED: Loading Loading @@ -1105,6 +1106,7 @@ status_t Camera2Client::takePicture(int msgType) { __FUNCTION__, mCameraId, strerror(-res), res); return res; } } // Need HAL to have correct settings before (possibly) triggering precapture syncWithDevice(); Loading Loading
services/camera/libcameraservice/Camera2Client.cpp +35 −33 Original line number Diff line number Diff line Loading @@ -1068,6 +1068,7 @@ status_t Camera2Client::takePicture(int msgType) { status_t res; if ( (res = checkPid(__FUNCTION__) ) != OK) return res; { SharedParameters::Lock l(mParameters); switch (l.mParameters.state) { case Parameters::DISCONNECTED: Loading Loading @@ -1105,6 +1106,7 @@ status_t Camera2Client::takePicture(int msgType) { __FUNCTION__, mCameraId, strerror(-res), res); return res; } } // Need HAL to have correct settings before (possibly) triggering precapture syncWithDevice(); Loading