Revert "camera: Add AWB and AE lock"

This reverts commit 7607d3d42484c80b5689e7cb0362bfbe40daf263.

Change-Id: I6f222c23cff1526ec6c9d0b0ae874e5652d861cb
camera: Add AWB and AE lock

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Change-Id: Idea7b7af7eb7adb4e02e6f527dda96e78f3e0f16
camera: Wait for continous focus to complete before taking a picture

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Change-Id: I2aef0e3e413c9a8708fe1c87860beb287c844a1c
smdk4412: add new camera firmwares

Change-Id: I2de717fbfbad81fc39e87540c8b4f8cebff015db
smdk4412-common: Update torch overlays

Change-Id: I66f5fec4ce2cc8ca53642f5420d1f2356696c080
smdk4x12-common: fix bt tether

Change-Id: Ib19439e39ba767e57826722279faaed02046df2e
Merge "smdk4x12-common: fix bt tether" into cm-10.2
smdk4412: add AdvancedDisplay

This partially reverts commit 006c95d4f0c75b9bdf3827856dc694d973464520,
we want to reuse some of it

Change-Id: I84dd929e4cd895d4c4d0d6a81d476eaa1bcc4a0b
Get rid of the gfx buffer workarounds

Concurrent buffers are now working, we don't need this crap anymore

Change-Id: I80c35bb67c41e9c61faeb6f3cd80d3e9033f9641
Treat all screenshots as going to a CPU consumer

Change-Id: Iee55fa03d9602f31a3b7f4f188778c58e8ca0131
camera: Block out endlessly looping focus clause

capture_auto_focus_result isn't updated from any realtime focus
callback, so waiting for it to change in order to complete the
capture introduces delay, and in some cases an infinite loop.

Remove the focus state verification, at least until such a
callback can be put in place.

Change-Id: If4c6815563cb63009e717ee65a0a8fb816cc813e
camera: Fix android.hardware.cts.CameraTest#testFaceDetection

junit.framework.AssertionFailedError: Should throw an exception if face detection is not supported.

Change-Id: I2cf8d26e94c0943838db7300ab05b4c0172b15c1
camera: Fix various focus-related errors

* Validate that the focus region is within legal boundaries
* Reset the region to sane values if bad ones are given
* Set a default empty region
* If auto focus exists, it must be the default

Fixes android.hardware.cts.CameraTest#testFocusAreas and
android.hardware.cts.CameraTest#testParameters

Change-Id: I3aafcccc2c6081ba44edb3283a850c55178fa90a
camera: Fix invalid parameter returns

The camera API expects invalid parameters not to return silently;
They should throw an exception, and set the bad parameter(s) back
to the last known good value.

Fixes android.hardware.cts.CameraTest#testImmediateZoom and
android.hardware.cts.CameraTest#testInvalidParameters

Change-Id: I6556369322b7560b0bb35fca57366b42579effbd
camera: Fix disabling location

If Camera.removeGpsData() is invoked from the userland API, we
must invalidate the previously stored GPS data to prevent it from
being saved in EXIF.

Fixes the invalid storing of location data after an explicit disable
Fixes android.hardware.cts.CameraTest#testJpegExif

Change-Id: I9618a27ab9def974bac1d69871c3454300fb4c29
Merge remote-tracking branch 'upstream/cm-10.2' into cm-10.2