Revert "camera: Remove deprecated QCOM camera hacks"

This reverts commit ab7847c98ec68ad4c2db7b8155439f9fdaf639f0.

Conflicts:

	services/camera/libcameraservice/CameraClient.cpp

Change-Id: I92a772649a2455ec76b61498e330cd53b93c72c0
audio: fixup ifdefs for legacy VOIP compatibility

A change in Android 4.3 for newer devices broke voip
with apps other then Hangouts as well as caused
random FC's when finalizing a video recording on
some legacy HTC devices (pyramid/shooter/holiday)

This commit allows fallback to old behaviour if the
flag -DQCOM_LEGACY_VOICE is set which seems to be a
common theme across the devices with the issue.

Original patch by Dorian Snyder.
Amended by Matt Filetto to be called properly

Patchset 2: added more ifdefs to fix viber4android

Change-Id: I75c8cb9e1e5937ffed0871f7407b4b219f053cb2