Permalink
Browse files

Revert "qcomcamera: simpler barcode scan fix"

This reverts commit f2bae54.
  • Loading branch information...
1 parent f2bae54 commit 746ce7e8396d4ca096e50487a1b2fb330770789f @drewis drewis committed Mar 30, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 QcomCamera.cpp
View
@@ -336,9 +336,7 @@ static void cam_data_callback(int32_t msgType,
hwParameters.getPreviewSize(&previewWidth, &previewHeight);
CameraHAL_HandlePreviewData(dataPtr, mWindow, origCamReqMemory,
previewWidth, previewHeight);
- }
-
- if (origData_cb != NULL && origCamReqMemory != NULL) {
+ } else if (origData_cb != NULL && origCamReqMemory != NULL) {
camera_memory_t *clientData = CameraHAL_GenClientData(dataPtr,
origCamReqMemory, user);
if (clientData != NULL) {

0 comments on commit 746ce7e

Please sign in to comment.