camera: bring back more of the preview metadata workaround.

Fixes issues with switching between FFC and back camera on some devices.

Change-Id: Ie2cef65263816b22e45513cfc639c32b48a49bec
AudioPolicyService: Support MR1 audio_policy

Change-Id: I26abd352f327256856021b311efb1e23b46b6023
Add support for LG P970

This should make porting newer version of CyanogenMod / Android to old unsupported devices much easier.
We define the product, for example

"PRODUCT_LG_P970 := true"

and

"COMMON_GLOBAL_CFLAGS += -DPRODUCT_LG_P970"

in the boardconfig

Here we check, if it is defined.
if its defined, we use the known code, with which the build works.

if its not defined, we use the default code

Change-Id: I39e633fbed12b6fe6dc23d5f061f0c504214378b