Lockscreen see through (1/2)

Also add a few missed headers
Fix crash on KeyguardViewManager when lockscreen hasn't been shown

If lockscreen has never appeared (first rom boot), and you enable see
through, you will end up crashing system_server. This fixes it

Patchset 2: fix comment typo
FW Ribbons Swipe ribbons seperated && logic adjust for navbar

If you have an enabled navbar weither by default or user seleted
the bottom ribbon has not been available. If the user manually
hides the navbar I will allwo them to use the bottom ribbon.
They can also long press the hidden navbar handle to get the
bottom ribbon.

This also makes the left right and bottom their own ribbons.

Change-Id: Icba9c4ec510149bef74382a3bf59fd79b3ef87c4
Add method to PowerManager that allows querying the lowest possible
brightness.

Used by the auto-brightness adjustment to adjust the sliders.

Change-Id: Idb58fd86dee1a053fe858291be6c9b3169ac4247
Revert "We don't have this yet!"

This reverts commit 4c5807e0367eb2516b93dc023f78a5ba33fe3bc4.
Revert "SystemUI: filter certain toggles"

This reverts commit a1463d4fcf0a908f3c415d7016000547b62d3f78.
LegacyUSB: Squashed commit with updates for 4.2

LegacyUSB: add overlay for UMS lun and use existence of lun to enable legacy USB

LegacyUSB: Add support for legacy USB implementations

Rebased for ICS 4.0.3

Option to hide Adb notification icon (framework) - authorship belongs to Rick C

Change-Id: Id14f70f7e21b689c08cadef69f69da711c7dc566

Conflicts:
	core/res/res/values/symbols.xml

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Add turn off action to WiFi Tether notification

Change-Id: I320405ed7e90e4c06ecdb127cd4c1cad6bedbcdd
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>

Conflicts:
	core/res/res/values/strings.xml

Signed-off-by: iceandfire <arhamjamal@gmail.com>
[1/2] Power connect/disconnect notification support

part 1/2: frameworks/base PowerUI and Settings
http://review.cyanogenmod.org/#/c/35241/

part 2/2: packages/apps/Settings Sound settings
http://review.cyanogenmod.org/#/c/35242/

patchset 3:
    shrink a couple of long lines
    remove power_notifications_use_default option (folded into ringtone option)
    load default settings in global instead of system

patchset 5:
    support vibrate toggle
    ignore first power state change (on boot) if it's a DISCONNECT

patchset 6:
    fix ignore first power state change

patchset 7:
    change vibrate to default to off
    simplify first power state change ignore logic

Change-Id: I36a6b9f924d2cd52191a8e83a744745b37c5b068

Conflicts:
	packages/SystemUI/src/com/android/systemui/power/PowerUI.java

Conflicts:
	packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Add UsbDebuggingManager and UsbDebuggingActivity to LegacyUsbManager

The UsbDebuggingManager listens to adbd requests and displays a dialog
when the public key authentification fails, for the user to confirm if it
wants to allow USB debugging from the attached host. If the user chooses
to always allow USB debugging, the UsbDebuggingManager writes the public
key to adbd's config file so that the public key authenfication succeeds
next time.

Change-Id: I819b8a0428ba34b68dadeb9fa67c53abb9a85fbc
Fix missing import

Signed-off-by: iceandfire <arhamjamal@gmail.com>