ShutdownThread: Sleep instead of snore

* the MX series does not have a PMU, and therefore can not shutdown
* Set device to sleep

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
HeadsUp: basic Headsup implementation (1/2)

  -enables the HeadsUp notification feature
  -add a HeadsUp qs tile, tile long press will open the do not disturb settings
Ethernet: observe the ethernet on/off state (1/2)

  observe when the qs tile turns ethernet on or off, write it to a Settings.System setting
  allows Settings switch to stay in sync with the tile
  also adding the getBoolean(cr, string, boolean) and putBoolean(cr, string, boolean) methods to Settings.System
HeadsUp: cleanup and set default
EthernetTile: update icons
HeadsUpTile: update the off state drawable
HeadsUp: option to show at the bottom of the screen (1/2)
HeadsUp: set default gravity to bottom
PWM: add UserHandle to broadcasts to fulfill need for a qualified user

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
Merge branch 'kitkat' of https://github.com/Matricom/frameworks_base into kitkat
HeadsUp: attach updateHeadsUpPosition to the StatusBarService

  kills the illegalargumentexception
Merge branch 'kitkat' of github.com:Matricom/frameworks_base into kitkat
HeadsUp: increase notification decay by 50 percent

Signed-off-by: KhasMek <Boushh@gmail.com>
"First we always handle the home key here, so applications can never break it"

* Amlogic, please follow directions. :)

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
[HACK] Keyguard: always return true for isDeviceProvisionedInSettingsDb()

  to allow home button to function when not using setupwizard and after reboot

Signed-off-by: Brandon McAnsh <brandonm@matricom.net>
Merge remote-tracking branch 'mt/kitkat' into kitkat