Keep quiet when volume keys are used to wake up device

- Userspace will make a 'beep' with it receives a key up, so
  consume that event as well.
- Removed wake key check in music control code as it will already
  be disabled here.

Change-Id: I93839acd39aec8a2ee40291f833a31f6b048c9f8
Fix Quick Settings for MSim [1/2]

 - Show the data usage of active data SIM for QS
 - Immediately update QS when data subscription changes
 - Forward setDataEnabled AS-IS (see part [2/2])

Change-Id: I1c72d9955b1d068ef276386b761f7aa2d664fdc2
SystemUI: status bar brightness: store value as int

Non-automatic brightness value is stored as int, not float.

Symptom: adjust the brightness in the status bar, the brightness
         slider in the notification bar will always be set to full

Change-Id: I5f9a6e97bae2c44c3aff7c9222186a6dbda5d902
[1/2] Forward port power connect/disconnect notification support

Original commit info:

    [1/2] Power connect/disconnect notification support

    part 1/2: frameworks/base PowerUI and Settings
    http://review.cyanogenmod.org/#/c/35241/

    part 2/2: packages/apps/Settings Sound settings
    http://review.cyanogenmod.org/#/c/35242/

    V-Old_Change-Id: I36a6b9f924d2cd52191a8e83a744745b37c5b068

OldChange-Id: Ib865e1c296cb8e1d957b2a48616c88ceaba5c008

Change-Id: I5db20ef23bdb644e2af06e8dcbc8fbd0cf7ce321
Signed-off-by: STELIX <ssspinni@gmail.com>
Forward port 'Swap volume buttons' (1/3)

[mikeioannina]: Adjust for 5.0 changes

Change-Id: I1b45da63b815aa1b3ddf7cda2b7afb0872ab433f
Merge remote-tracking branch 'cm/cm-12.0' into HEAD
BatteryMeter: properly initialize in TEXT mode (hide the graphical battery meter)

Change-Id: Id7b8b7eb9c4fd18dceba414d8700afa878df2bb1
Cleanup battery style code

* Cleanup commented out code
* Fix landscape battery icon padding
* Fix landscape battery icon charging indicator
* Fix circle battery frame color on some black backgrounds
* Fix percentage not shown while charging
* Fix landscape battery icon percentage indicator
* Fix circle battery artifact on low percentage

Change-Id: Ic56878c26e9a3416149eaaa8a9325d56d664e22e

Conflicts:

	packages/SystemUI/src/com/android/systemui/BatteryMeterView.java
perf: Per-app performance profiles

 * Performance Profiles is going to grow into a much more powerful
   feature which can apply advanced optimizations or power saving
   techniques depending on both the state of the hardware as well
   as the current applications in use.
 * Refactor the original code and move it into PowerManager so
   that it's managed from the same place.
 * Implement "automatic performance profiles". This feature will
   automatically select a profile when specific activities are
   running. Currently this list is static and engages performance
   mode for several benchmarks (trollface).
 * Added support for a new power hint, POWER_HINT_SET_PROFILE.
   Currently, these profiles are fired using a property trigger
   in init. This is easy, but the PowerHAL can do more.
 * Moved the setting to Settings.Secure and also wrapped calls
   to the service in the DEVICE_POWER permission. Nobody should
   mess with this stuff except the system.
 * Powersave profile will automatically activate Android's built-in
   low power mode.
 * Original patch by Jorge Ruesga

TODO:
 * Implement API for per-app configuration by user
 * Quicksettings tile

Change-Id: I140ebc0648c4cf05900e005923247c3180be8c93
Merge branch 'L5' of https://github.com/VanirAOSP/frameworks_base into HEAD

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Change-Id: I9218151cd27469a0167b9c961dd800703ce52b73
Merge branch 'cm' into HEAD
Merge branch 'L5' of https://github.com/VanirAOSP/frameworks_base into EXODUS
Fix-a-derp: someone left a dingleberry from the L5 bringup?

Change-Id: I4e6c62962b05ce2280dbc2279d886cd1212e424c
Merge remote-tracking branch 'upstream/EXODUS' into EXODUS