SystemUI: Ignore lint check ProtectedPermissions

Change-Id: Idf8ccd37cfb02e6da136187eb872e97e22b158e6
LockScreen: allow hardware key longpress to put device to sleep

Change-Id: I54260e21c462bcabd9b6383e22f44d644630b4d3
lockscreen battery status: add off option (2/2)

Change-Id: Ie10015865f161e783dc394d467e456d51dc9fbbc
SystemUI: Remove obsolete layout params (fix lint warning)

Change-Id: I41f688c9a351189c9929dc1f4947c0124820f5ad
Add Motorola EMU audio dock jack sensing support

Don't route to dock output just because the device is docked.
Let the actual jack presence to control it.

Change-Id: I4066d08b1aa58ead39aad9410b9dd71624776187
Merge "SystemUI: Ignore lint check ProtectedPermissions" into jb3
Merge "LockScreen: allow hardware key longpress to put device to sleep" into jb3
Merge "lockscreen battery status: add off option (2/2)" into jb3
Merge "SystemUI: Remove obsolete layout params (fix lint warning)" into jb3
Merge "Add Motorola EMU audio dock jack sensing support" into jb3
KeyguardViewMediator: Play lock screen sound sooner

When the screen is locked, there is a long pause before the lock
sound actually plays.

This makes that sound happen much sooner.

Also modified Lock.ogg slightly to remove the initial silence.

Change-Id: Iede7a5d22291d1ada98800d2b380c255547df61d
Fix inverted logic on volume keys control media volume

Change-Id: I795a464747a31a30ae64d399e4c9f5818288e91a
PA PIE (1/2)

All credit goes to PA

Change-Id: I916480a6fd972c91896911b7d3e8bba82e588619
Revert these 2 Active Display commits

Revert "Active-D: Make GlowPadView center the current notification icon for us"

This reverts commit 20bde1981c74f816cfc29a9c3560caca177ee032.

Revert "Active display: Catch Resources.NotFoundException"

This reverts commit f982154c1098cdd245b5231aca955e738b7da1d2.

Change-Id: I8e93ddc98d589e3808924a90bd2a748c5c496275
Active display: Enable proximity sensor only when screen is off

This should ease people worried about cpu usage of the proximity
sensor while the screen is on.  The sensor listener will only be
registered when the screen goes off, and both active display and
pocket mode are enabled.  Once the screen turns on this listener
will be unregistered so no further updates are received when the
sensor values change.

Change-Id: I70979b5931815adb74bd8bc42e32886a6d829a12
Active display: Use a default notificaiton icon.

In case there is an exception when trying to load the
notification icon we will use a default one.

Change-Id: I4087ef3e407cf976f7bfb2bb89f850641101bc73
Active display: Only fetch next notification if mNotification is null.

Change-Id: Ife8511d4a4b8c448bc7aa8997a250068bec5fae7
Merge remote-tracking branch 'carbon/jb3' into jb3