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
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
Merge branch 'cm-11.0' into stable/cm-11.0

Change-Id: I35c0c1dc12069960083b07e6645e3bd6f109c4e7