Fix Pie Toggle.

So let's add-in syshelpers so we can restart SystemUI for Pie Toggle.

Patchset 2: Fix import pointing to wrong location.

Change-Id: I95b25bc2f4f979776278ee9b0891127da00f1656
Merge "Fix Pie Toggle." into jb2
SystemUI: More memory leak fixes

PS2: fix Clock FC

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryBarController.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java

Change-Id: I0929786c33475bb471db90f757321502a19c8702
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
FW: Ribbons - Long swipe App window.

Window similar to recents with all the users apps.
Options to control app color, background color, and
background opacity.

On touch listeners for targets and close button
Make dividers colorize with text.

Fixed animations make columns spacing work automagiclly

Change-Id: I6147dee1e97436f252a7dae349d1eff1d6e5dbf9
input: added support for multiple keyevents

- Multiple keyevents can now be send from the command line:

    input keyevent <key code number or name> ...

  Sometimes invoking 'input' repeatedly does not send the events fast
  enough, this change solves the problem by allowing multiple key code
  number or names be added to the command line.

Change-Id: I0d0f34bddd99e0195c9badff2f8b3e2aa9a51737
audio: Add overlay to fix analog docks.

Of particular interest to devices using libhardware_legacy and
affected by commit 5a484b753cc72d6a50c1dd3bbf68b3403c741a3a: http://goo.gl/rVR1Z
which restricted the routing of AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET
to docks using FORCE_ANALOG_DOCK cases. The EXTRA_DOCK_STATE_CAR case is
returning FORCE_BT_CAR_DOCK, preventing the dock audio from routing properly.

Add an overlay option for overriding to FORCE_ANALOG_DOCK.

Change-Id: Ib7d70c242aa6f537ea5d65098ceb2c591662d8bb
implement 1% battery on select devices

via ro.product.use_charge_counter=1
Change-Id: Iaed07e682463a6467b1903ab40cf41440334b64b

Conflicts:

	services/jni/com_android_server_BatteryService.cpp
Option to use volume keys to control media volume anytime (2/2)

See Settings part for description

Conflicts:
	core/java/android/provider/Settings.java

Change-Id: I78d26b0bd41f5b58514ae9c68208a8c950396823
Merge "input: added support for multiple keyevents" into jb2
Merge "audio: Add overlay to fix analog docks." into jb2
Merge "implement 1% battery on select devices" into jb2
Merge "Option to use volume keys to control media volume anytime (2/2)" into jb2
Revert "Option to use volume keys to control media volume anytime (2/2)"

This reverts commit 258a3340ac4388f8cf4f253b2415152743b9e3b4

Change-Id: I0c02e35ecb841a91c2da3bbe0f55ff95703a9337
Merge "Revert "Option to use volume keys to control media volume anytime (2/2)"" into jb2
Duplicate Media cleanup

Clean duplicate notifications and ringtones.
JIRA : https://jira.cyanogenmod.org/browse/CYAN-292

Change-Id: Icab24ca455891c2347fd521e4d8c804cb024c51f
Someone's IDE chose the wrong Date.

Part 1 of the mystery of the java.sql.Date in preloaded-classes solved.

Change-Id: I33fffec1f86e34167a76afc839d9f4ce31fa31f7
Statusbar: Revert all teh things! (1/2)

Go back to old way we did things. By that I mean get rid of the Hidden Statusbar Pulldown,
Hidden Statusbar Pulldown Timeout, etc, just for now to see if it helps with the Statusbar
deadzone issue. So with this picked, we have the AOKP Statusbar toggle and menu item again
to hide it. Once it is stable, rebase Hidden Statusbar Pulldown on the way RB is doing it.

Revert "Hidden Statusbar Pulldown Timeout (1/2)"

This reverts commit d3568058a1212785388fa607e2762128f043752d.

Conflicts:
	core/java/android/provider/Settings.java

Change-Id: I78b6df83c373d7cfd5e330a59a0b62494704d227

Revert "Hidden Statusbar Pulldown (1/2)"

Conflicts:
	core/java/android/provider/Settings.java

This reverts commit 66680fe3308d7f7d85689c39ea11193ebea4634b.

Change-Id: I305bdba51b9ef720aec722afc425c91261d318f3

Revert "Swiping on the top of full screen apps shows status bar for 10 seconds"

This reverts commit a2146dc8439946e4e23a8d0f96478570272174bf.

Revert "Fix and cleanup Expanded Desktop Mode"

This reverts commit 6e5dfa1e8f0b01fd581c483dde8be629d350f74e.

Revert "Status bar Auto-Hide [1/2]"

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

This reverts commit 88895541101981fa55f0d7744105aa0588a9864d.

Change-Id: Ib6229ef6e696e4beebdaa63dcd1f8a10e54709b1

Revert "Revert "Revert "Breaks Expanded Mode Revert "FW: Status Bar Hide toggle (1/3)""""

This reverts commit 504cf18bc2fdb541358e8c0dba56dab5e2198594.

Revert "Revert "Revert "Breaks Expanded Mode Revert "policy: add missing spacer view""""

This reverts commit 7016032228b5a519fb96959aa5ea3c3af191fe5f.

Revert "Revert "Fix statusbar toggle.""

This reverts commit f7b557868b05416bef0ab8f0094c743859aecea4.

Fix and cleanup Expanded Desktop Mode

no need to call state and mode several times from provider settings.
Cleaned up.

Also fix for the ugly lockscreen gap on expanded desktop
mode 1 and 3

And fix that mode changes reflects directly to the screen if
expanded state = 1

cheers

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Change-Id: I8cc0d936af270d72f2fb5c005a28c575576d894b
Add Carbon as a default tile in Quick Settings

Change-Id: I483b850023574d5db2c933a62b407c01d5782326
Signed-off-by: slickrick <rsalinas1@mail.usf.edu>
LockScreen: allow long-press actions from hardware keys (1/2)

Allow following actions with button long-presses on lockscreen:
- toggle flashlight (if available)
- play/pause/next/previous track selection
- toggle silent mode

Allow customizing of back, menu, and home buttons. Search
button events are completely ignored on the lockscreen.

Auto-detect hardware keys, only show appropriate menu
options based on the actual hardware keys available on the
device (or completely hide if there are no hardware keys).

Based largely on Danny Baumann's work from gingerbread.

Ported from CM10

Conflicts:
	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardViewManager.java

Change-Id: Iff32736d00ca5d4122f64a6a861bbb0a1de9cca9

Fix custom insecure unlock logic

The previous implementation of lockscreen hardware keys long press
actions has conflicts with the Menu/Home/Back key unlock methods.
This was due to a derp in the switch loop.
This commit fixes this

Change-Id: I03025b8c8217d3bd0999b784b1c3046646bfa70f

Frameworks: Lockscreen minor fixes

- fix for hide lockscreen page hints in landscape
- fix initial  logic rotation lockscreen

Patchset 2
- fix derp

cheers

Conflicts:
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardViewManager.java
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardWidgetCarousel.java

Change-Id: I19d5f0c5474986bee4ba5a6457ed0f47d530cfba
Merge "Statusbar: Revert all teh things! (1/2)" into jb2