Port forward: Volume rocker wake and Volume music controls

Policy: Volume rocker wake
--Stevespear426 based on roman's ICS code

Volume music controls
--gdanko

Fix volume track skip control with 3rd party applications
--Danesh

PS?: FIx volume wake...still want to redo this to rid of keyguard code
PS?+1: Cleanup whitespace

Change-Id: Ie4b5c77c6ef7fc062cd96345866db52d279345c9
Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>
Immersive Mode

Use Googles Immersive Mode instead of our previous convoluted code.
Change the Immersive Helper to only popup once, not once per app.

Change-Id: Ib207a8ae4f88aee5ad7d0cc9c36bed61606a1efb
Limit QC camera features to post-ICS HALs

ICS blobs don't support longshot, and have a different API/method enum
for histograms

Change-Id: I6704b9302344ae2ae6386312b68de669bb5c11f2
SystemUI: add customizable navigation bar

Change-Id: Ibad1ecf52c7db0ac352892aed7529de68476c092
Signed-off-by: Roman Birg <romanbirg@gmail.com>
SystemUI: Fix NavBar FC

Change-Id: I5cfa3110e0239023801c5233164c6cafae5f8498
SystemUI: fix alt back icon; navbar button fc

Change-Id: I61cb2a3d5ad024922016a1ff03564bc114bd0f0b
Signed-off-by: Roman Birg <romanbirg@gmail.com>
SytemUI: FavoriteUserToggle fix

Update for Settings.AOKP

Change-Id: I0f7a4bc8302ecc3c7b9745b8f68d0081a36046e7
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Merge "SytemUI: FavoriteUserToggle fix" into kitkat
Updated Simplified Chinese translations

Change-Id: I5f67509ecd11a5d712d6f57c1a0787043b9de4bf
SystemUI: add legacy menu button back

Change-Id: I32d687c2dd2682036ceee1032b777b9b10987ffd
Signed-off-by: Roman Birg <romanbirg@gmail.com>
frameworks/base: remove some duplicate ringtones/notification sounds

PS2: Start mk file cleanup
PS3: Remove empty mk files
PS4: Remove more dupes and unused audio

Change-Id: I7a091218e41b3cf7eea9738d9ea569d9cb3ee91d
Revert "Fix for Concurrency issue reported in  525529"

This reverts commit 7eb1fcb76989f11aaa9ca0a78e0361239ff5317d.

Change-Id: I37815b93bf2b25caff171888dc13788479a9c8c4
CRs-Fixed: 585504
Use highp precision for scaled coordination

If scaled coordination is closer to zero than what
the medium precision can store, distance becomes
zero and it causes divided by zero.

Change-Id: I8ee921dd1f57564a442e685266b12d95fc08e165
NetworkPolicy: Validate policy templates before updating

Ensure all the policies to be added are validated, otherwise
this service will throw IllegalArgumentException and cause
system crash when updating network template after receiving
ACTION_NETWORK_STATS_UPDATED.

Change-Id: I3faef0ac2a2fcea64ba5dde9c9256f6714280e2e
CRs-Fixed: 561490
WifiState: Don't aquire transitionwakelock in airplane mode

NetworkTransitionWakelock is for transition from Wifi to mobile.
It will cause device no sleep for 60s. There is no need to acquire
it in airplane mode.

Change-Id: I1487dc4787948d09e482f22e88d01768b54964da
SystemUI: Immersive Mode toggle

Change-Id: Ic818f3f92d143c203bf99fb43198152942a186dc
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
Merge "Use highp precision for scaled coordination" into kitkat
Merge "NetworkPolicy: Validate policy templates before updating" into kitkat
Merge "WifiState: Don't aquire transitionwakelock in airplane mode" into kitkat
SystemUI: add permission to kill apps

Change-Id: Icebada693b137a7cb46493a687a17a6240469674
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>