am be125559: The antibanding (60Hz) broke the bar code scanner. bug 1962986

Merge commit 'be125559561e66c1ed080dc6aca8fd9fd642b030'

* commit 'be125559561e66c1ed080dc6aca8fd9fd642b030':
  The antibanding (60Hz) broke the bar code scanner.
This commit is contained in:
James Dong 2009-07-12 21:56:09 -07:00 committed by The Android Open Source Project
commit 33276093a2

View File

@ -1728,7 +1728,13 @@ void QualcommCameraHardware::setAntiBanding(int camfd, const char *antibanding)
antibandvalue = attr_lookup(anti_banding,
antibanding,
CAMERA_ANTIBANDING_60HZ);
/* FIXME:
* CAMERA_ANTIBANDING_60HZ broke the barcode scanner
* somehow. turn it off and revert it back to off
* for now until we figure out what is the best
* solution.
*/
CAMERA_ANTIBANDING_OFF /*CAMERA_ANTIBANDING_60HZ */);
ctrlCmd.value = (void *)&antibandvalue;
LOGV("In setAntiBanding: match: %s: %d",
antibanding, antibandvalue);