msm8974: Enable deep buffer output as primary

 * Since we're not offloading audio during AV playback, it's
   better to use DEEP_BUFFER as the primary output and only
   select the FAST output when the flag is set. This saves
   power during video playback.

Change-Id: I94d4de328377e9c351bd77c5ad5b0a7ec96cbb79
msm8974: Add offload properties

 * Set fragment size (same as default)
 * Enable gapless playback with offloaded streams
 * Enable offloading for AV (but not streaming AV!)

Change-Id: I1b0f8115bc880bd89f5a0c8ed13e4b54d38e0867
msm8974: Enable new mixer for offload

Change-Id: I21620d3a2612c992dc70a783f20aa8b73e8c9073
Add all the missing overlays from houst0nn into
g2-common.

thanks houst0nn

Change-Id: I8233029f3df7ba5675ec307e556df763271dd5f4
Signed-off-by: baked <travp624@gmail.com>
g2: Add specific AEC effect descriptor

Change-Id: Ie83882d4c1729371aca212903681300abaa85119
Signed-off-by: houst0nn <houstonn@gmail.com>
Merge "Add all the missing overlays from houst0nn into g2-common." into android-4.4
Merge "g2: Add specific AEC effect descriptor" into android-4.4
add permissions for touch_gesture

Change-Id: I401d9fb77b4947baae6f362bc883fa60b7a8b978
remove GestureSettings from device

this is controlled by DeviceControl now

Change-Id: Ifbf55ba1cf23d9050c9b4df03a83a1a18352e2db
remove missed GesturePreferences reference

Change-Id: I37c7888ead2220f2f52a8ef026e2b610a91364c0
g2: remove logwrapper for irsc_util
Bug: 11116723
Change-Id: I961cb058a3a7718fc28f744f23b7f60e1f33ae26
g2: update TCP buffer sizes

Updated ReadMax and WriteMax TCP buffer sizes for HSPA data.
Bug: 10587546

Change-Id: I498971234c3543842d90eac60376e41aa3177948
g2: Add noresample sysprop

Disable touch resampling on g2 devices. This eliminates 5ms
of latency we introduce in order to minimize resampling error. On g2,
because it uses an in-cell solution, resampling isn't as important
and thus we can disable it altogether.

Change-Id: I131d7c86021b7b4f4e2bedc08aa159994eb0020d
g2: kk upstream merges

Signed-off-by: houstonn <houstonn@gmail.com>

Use special TMobile tethering APN on g2
bug:11383698
Change-Id: Iac07491a41b1ced3cdfd2d4bd1f8291a939f9708

Remove logwrapper for wpa_supplicant
Bug: 11116723
Change-Id: I7cf71bc1b53438a06a39aca0decd3a775cf17bfd

Show LTE icon for KT operator
Bug: 11523988
Change-Id: I21c82f0b268920af78c6a488198af80cd8f0ee38

Add mms overlay for lliad and Bouygues Telecom
Bug: 11361843
Change-Id: I1e2a1a5f316cc6b2d483edf02aabf5bea2b8d7f5

Remove Manage Mobile Plan
Set config_show_mobile_plan false to remove "Manage mobile plan"
Bug: 10819853
Change-Id: Ic3c69fb4246cc0de38518ef6c9950cee7fa4d987

Use MCC-specific operator name list
Display Operator names according to SIM Card MCC.
Currently available tables exist for China(Simplified Chinese)
and Taiwan (Traditional Chinese).
Bug: 10399327
Change-Id: I248fe92d099b67e14486dae44a097a0cc60e229c
g2: dexopt system to /cache

http://review.cyanogenmod.org/#/c/56059/ set dexopt to /data only
by default.  g2 has nearly 700MB on /cache so let's continue to use it.

Change-Id: Ibfaae5ac24f089a71d2a66ea276235170f9cbd4c
Signed-off-by: houst0nn <houstonn@gmail.com>
Updates from houst0nn

g2: Force full GLES virtual layers to go via HWC

g2: adreno source=false

g2: Enable smooth-streaming video-playback

Change-Id: Id76506cb66f82777f4574ecd4ba300557c482ded
credits: houst0nn
g2: update power_profiles

Change-Id: Ib25a7e22749a949ac0b613462fc40c7049713fb4
Signed-off-by: houst0nn <houstonn@gmail.com>
Update init.g2.rc

I forgot this line with this commit 595b2404220bcddc29314fd7ae59c6057da97812

Change-Id: I57fbfa560dd74f9df64a519e0f29892a1e97da89
g2: enable noise surpression

Change-Id: If908c8719c6e2b38a7929f7606b38c0beace1f3e
Signed-off-by: houst0nn <houstonn@gmail.com>
Revert "remove missed GesturePreferences reference"

This reverts commit 064866a768834b799bb17cff562fda41abcdccdc.

Change-Id: I2b6da4e0f1401ca8ef49b4bc68a03a5ffeb18232