i9300: audio: fix battery drain after phone call

Change-Id: I12b038aeb3065eec335966674be14957170eb213
i9300: audio: hal update

fix issue where audio would stop working in or after call.

Change-Id: I1ad44e2621a30a01f1ebc63bd87eefdb695ff33c
i9300: audio: update hal

Brings the audio in line with i9305, n7100, n7105

Fixes various issues.
Only bug left now is audio stutter in real racing 3
which is probably due to the lovely hwcomposer.

Change-Id: I67b0df685e4175b248d2f75608c47cb2bfe85527
i9300: audio: fix input device selection

http://review.cyanogenmod.org/61104 broke input device
selection resulting in single channel audio for recordings.

Change-Id: I58d5a0997b22cfe5489030e698e83d1768161132
i9300: audio: bring back removed microphone fix

http://review.cyanogenmod.org/61104 has reverted http://review.cyanogenmod.org/51085
which has bought back issues with microphone after a voice call. After a voice call,
the microphone is either not working or the recorded audio is very faint and not
audible.

The Input device has to be explicitly set to AUDIO_DEVICE_NONE after a voice call,
since force_all_standby() wouldn't work for a voice call usecase.

More details about the fix is included in the gerrit comments for the actual patch.

Change-Id: I87c63b0ec4390ec3e5703e1de5804c10289ee423
Switch back to the binary camera HAL

Add compatibility libutils symbols required by it, and use it
again. It's much more reliable than the reimplementation

Change-Id: Ic837f4688015a956d635f0cf6b9846c24265a4e1
SELinux: Remove duplicate rules

These are now declared in the global sepolicy

Change-Id: I2861d939a43e0f7b736534006b83505fe52fbd35
Camera2: Don't try to cancel focus messages when preview stops

Change-Id: I3dc4762de2b321f3d01d6d6c07ec5fba33fb90e5