PowerManager: Don't wake up device when charger is plugged/unplugged (1/2)

This will add the option to disable waking up the device when a charger
is plugged or unplugged.

Change-Id: I3367041a05931510f367dafe412b173c80b89df1
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
SystemUI: respect global vibrate settings in the statusbar

Change-Id: I6df0fe2c6eb00a625e4c0aff6d0c8743979de966
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Lockscreen: Add timeout and instant lock option to slide lock (2/2)

  This adds AOSP's new timeout and instant lock options to the
  slide (aka chooser) style lockscreen.

Change-Id: I64b5f53a4e6c4098640b2c0cb3af2a56d6df019f
LastApp Toggle [1/2]

Creates an action useable by NavBar & NavRing to toggle
between most recent apps.  Will try to ignore the launcher
when possible.  ie, if you've just rebooted and have not opened any
apps, it will do nothing.  if you open 1 app, it will toggle between
that 1 app and the launcher.  Once two apps have been opened, it will
toggle between those two apps.
It's kind of like opening recents and hitting your #2 slot repeatedly

PS 2:  Add Icons from Hoolm.  {Thanks!}
       Re-wrote the logic for selecting next app.  Rather than
toggling back to launcher if only 1 app open, it does nothing.
toggling only occurs now when there are at least two apps open.
One issue that I still need to work out is that 'Recents' is somehow
showing up as a valid target to toggle to.  It shouldn't.

ps 3:  getRunningTasks() does not filter out 'Excludefromrecents'.
Thus we need checks for 'default launcher' and SystemUI.
as I write this, I realize I might be able to query the
ExcludeFromRecents flag of the package a bit more easily.

ps 4: Whitespace fix.
ps 5: one more whitespace fix.
ps 6: remove unnecessary dependency

Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Change-Id: I0b59121b07b9ba44a2837a8db0266441ed82f9a3
QuickSettings: fix missing GPS state

This will show the appropiate image when GPS got a fix.

PS2: use image set in the state object.
PS3: fix derp
PS4: it's too late - sorry
PS5: int ain't null

Change-Id: Id4055a9a811f42d411abaf740c7a6c8e8c240e9c
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Merge "PowerManager: Don't wake up device when charger is plugged/unplugged (1/2)" into jb-mr1
Merge remote-tracking branch 'upstream/jb-mr1' into jb-mr1