06acc10e87
ced60586c2
@ -972,7 +972,7 @@ public class CameraView extends FrameLayout {
*/
public void setSessionType(SessionType sessionType) {
if (sessionType == getSessionType() || isStopped()) {
if (sessionType != getSessionType() || isStopped()) {
// Check did took place, or will happen on start().
mCameraController.setSessionType(sessionType);