HALO: Code cleaning up

Credits to: Anu6is

Change-Id: I10c3db6a538ba475f567e3e00fe6f92e00364bbc
PackageManager: Limit the platform-key protection to test-keys builds

This block (change I7390b3bdf5289411f7a335c69635bed9f74bbfb3) is intended
to protect the system from abuse of well-known keys. That's not the case
if the system is signed with dev or release keys.

Change-Id: Ifb66f775dd28c577447634ae177442732a18b592
Active display: allow hiding low priority notifications. [1/2]

Change-Id: I4831d6864b509e62b449c25619c59f5d6760ec47
Floating toggles (1/2)

Launch toggles in a floating window

Change-Id: Idd345c9c1a2e66023c832cf6037a7864d5e52465
FW: Halo: Remove expanded desktop dependency to longpress action

* Always on is much better!

depends on: http://review.pac-rom.com/#/c/2456/

Signed-off-by: iGio90 <giovanni.rocca.90@gmail.com>
Change-Id: I777d65cc38b3d84212f04ce6405ceb5de8384903
SystemUI: Ignore lint check ProtectedPermissions

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

Change-Id: I54260e21c462bcabd9b6383e22f44d644630b4d3
Shrink fast toggle pull down percentages

Change-Id: I5d041cf27789b175f39d89ecb3f89541e3f88ec6
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
Revert "KeyguardViewMediator: Play lock screen sound sooner"

This reverts commit cc46a04d18a69ab7faf9d340cd559ec249add936.
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