Add proximity wake flag

Use frameworks opt-in functionality.

Depends on http://review.cyanogenmod.org/#/c/69169/

Change-Id: Ib078b65252bd5ca4da3d71d8d73f66ba7e8bf333
msm8974: [HACK] Restore combined primary audio path

 * The underrun (click/pop) seems to still be possible
   when using FAST output, and happens most often
   when playing a ringtone out of suspend.

Change-Id: Icd30aae31f0c911a142e12c09f701be383896cb1
msm8974-common: Add Widevine proprietary libs

Change-Id: I7cb58f06ec9bfb21e5bf34df2b6677e159e87549
msm8974-common: Sort makefile targets

Change-Id: I4557d0e4a688628598239fb90ac8aa3a58fb7d13
msm8974-common: Remove unused liblisten entries

Change-Id: I084b951418d3025b1adc14f575d234b229e84bf5
msm8974: Disable multiple offload support

 * Disable multiple offload support in the stable branch until we
   fix the issue with the offload visualizer. The issue is that
   the visualizer is hardcoded for a single AFE_PCM_RX path, and
   we need to pass this up from the HAL for multiple offload.
 * Revert this when the issue is fixed, as multi-offload can improve
   power consumption in certain use cases.

Change-Id: Ife712dfe47d24db361949d3736156276f5f6e0a9
msm8974: Melt faces off

 * Add support for SRE

Change-Id: Iddf45efd600a6eaf46e213f884a8ff709131a30a
msm8974: Move QC location provider in priv-app

Change-Id: I70fe034128c04ddf2d943da731f26359648d4127
msm8974: Fix thermal-engine client

Change-Id: I26089d11782639a6d4d18ece953f466978e3c183
msm8974-common - Device Settings

Change-Id: Ief6db2e7ea3e222b53e40bb58465f58cc7e4760c
Signed-off-by: Petr kecinzer Řezníček <kecinzer@gmail.com>
Revert changes to voice and speaker paths

Effectively reverts aa4a449ccb10e6ca533c886f35207d49f80a036a

Change-Id: I2fed184915cfad5410991766421a1932bc48451e
msm8974-common: Fix copy pasta from init.qcom.post_boot.sh

Change-Id: Id16b1baf92768e789683018b61e07cd245e569a5
Revert "msm8974: Reenable interactive sync"

 * Testing shows that this change is causing aggressive onlining
   of CPUs when not necessary, as well as quickly increasing all
   cores to the sync_freq prematurely.
 * With this patch, wake-from-suspend (no screen) will enable 3 CPUs
   at 1190MHz for simple wakeup cases, causing higher power consumption.
   Reverted, we see 2 cores at 300MHz for the same cases.

This reverts commit d83bca39ee006f86733916938af39f5239076882.

Change-Id: I8b4fb2b4f42f3fb3509d7f2fd0fc52cdb551e2fa
msm8974-common: Add missing ANT+ library

* Add ANT+ permission and framework library.

Change-Id: Ia2efcc04864be8cfe408509f653bba4498e2d30b
msm8974-common: Update audio_platform_info for extended format

Change-Id: I081c7dace7616e30b6dc711cf920315a763dd4d2
msm8974-common: Fix sensor_settings permissions

Change-Id: Ic99b3182c69eae1f9f297cd3ab233215b210d3b5
Merge "msm8974-common: Fix sensor_settings permissions" into kitkat
Import translations from crowdin.net

Change-Id: I76cebbd7ef2df89624a378d72380bd29d78e0460
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
msm8974-common: use 'normal' value for notification led off

Users can set this value to 250, 500, 1000, 2500 or 5000ms only,
but it's 4500ms by default.
With this patch, 'Normal' string is shown instead of 'By default'
and pulse speed goes to 5 sec.

Change-Id: I3089e9ade3e8088391bc5be7890932e14c4a3b57
msm8974: Enable QCNE if available

Change-Id: I98858a0ef14dfdf5529355ad4f0376799e46f21f