camera wrapper: tweak stuff for apex/express

Change-Id: If9d805375c1bdb18ab6d115efaef93084de0fae1
Disable QCOM Enhancements, fixes video out of scale on hw decoder and video playback crashes
Unified bringup for jflte
msm8960: Make Samsung camera mode optional

* It breaks 3rd party camera apps on serrano

Change-Id: If98deb406d294774199e538e8ec7ae050d24da73
msm8960: Add type for firmware filesystem

Change-Id: Iaba6c131078ab217095f5de1cc614d17f3658996
msm8960: Unbreak network mode options

Change-Id: I3dcfedef08693587b0a1b35c45ef434797c0f32c
Camera Wrapper: Only call cancel_auto_focus when the preview is enabled.

Change-Id: I2a26ba8bac3ef84f49ea5897cdeedbb5c0724e2b
Fix fix xd
Add Enable/Disable Fast Charging to Advanced Settings
msm8960-common: I don't want to see your face

Strengthen the prohibition against face detection as some third
party apps are ignoring it.

Change-Id: I88df1b40f27472b7ed40d745b4b5b59b6d2fa560
Revert "Disable QCOM Enhancements, fixes video out of scale on hw decoder and video playback crashes"

This reverts commit d512b4cfbc00110711a0d022c7ee767ae73f97ab.

(looks like it's fixed)
msm8960: Remove duplicate audio firmware type

 * Slowly moving inline with upstream.

Change-Id: I1c67674e09b88fc2a00a913c69e7b5dceb723106
msm8960: Enable ZSL in video mode too

Change-Id: I2cdf38268cc27bf1a2056d97482e93d547c60ff6
msm8960: fix samsung camcorder mode the right way

A lot of these modes are inter-dependent. Don't mess with Samsung camera
mode if it's already been set.

There is also a problem with apps which use the FFC for video chat, that
don't set the recording hint properly. Detect them from the special
video frame rate used.

Change-Id: I8f1fc611a2f100d0438447c25103fc44917c5d87

Conflicts:
	camera/CameraWrapper.cpp
camera: Don't forcefully enable ZSL

Enabling ZSL without the app being aware of it is a bad idea, and can
lead to a 3rd party app trying to mix it with incompatible options with
unpredictable results. Disable it unless the camera explicitly requests
that feature.

Change-Id: Ia655f5185720cd69577c2c3006662df63e8535ef

Conflicts:
	camera/CameraWrapper.cpp
add ISO 50 mode for d2

Change-Id: I1211150262739cced8c5c3635c5151cdaf06105c
toggle ZSL mode properly

D2's camera HAL is very stupid and it leaves camera_mode on even when
ZSL has been turned off.

Change-Id: If2216c8f7ae40ad272fb6048d955b3f99a46f6fe

Conflicts:
	camera/CameraWrapper.cpp
fix this mess

camMode and ZSL are persistent across camera switches and switches from
still video to camcorder, resulting in inconsistent states.

The fix:
Don't just detect if camMode is unset, since the previous set state is
too persistent. Instead, test specifically for the special mode Snapchat
sets that the wrapper would never set, where the recording hint is not
on but camMode is.

Ensure we are only enforcing the Hangouts exception for the FFC.

Restore the previous ZSL logic. It worked just fine.

Change-Id: I0751c12ebd4035a86682e9c9c76b7e2d422cbc7e
Various camera fixes

Sometimes camMode is left on when switching from video to still mode.
Detect the switch and allow it to be reset.

Do not set camMode on rear camera (yet).

preview fixes for ApexQ

Change-Id: I1ff0153ccb402e0e67e1660210829f07a90dee7a
d2lte: fix Skype video chat

Change-Id: Ife14f9c54b0cd77457fc8a76597d73ab870df947