AOKP Settings

First try on adding a seperate AOKP settings table.

Patch Set 4: Fix Bootloop
Patch Set 6: always try create to create the AOKP table to
             avoid changing the versioning and future merge issues
Patch Set 7: Revert back to create the table in the latest version
             handling code. This means when coming from an earlier
             version it is handled correctly. Everyone else needs
             to wipe.

Change-Id: Ia058c31eab71be47f85e225e763218500b523ae6
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
toggles forward port

Change-Id: I7dff33f1fb6c1f21a10b597187fa6525df73ec58
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
	core/java/com/android/internal/util/aokp/AwesomeConstants.java
	core/res/res/values/strings_custom.xml
	core/res/res/values/symbols_custom.xml
	packages/SystemUI/src/com/android/systemui/aokp/AwesomeAction.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
SystemUI: toggle enhancements

Provide a default icon with each toggle
so that ROM Control can query these drawables
and display them to be prettier!

Change-Id: I9fe0b860dd7d9b7d8ce8fc5d1dcfa9186f809fb0
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/QuietHoursToggle.java
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/SwaggerToggle.java
SystemUI: open settings panel if there are no notifications

If there are no notifications that belong to the current user, then automatically open the quick settings menu (like the two-finger open). It only ignores the ADB icon for now (which is pretty useless) but could be extended to ignore the usb mounting one or maybe another?

TODO: add Settings.System toggle to disable the option

Change-Id: I8c53c3323579f1a2136c6c2309351298e7ebb46f
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Signed-off-by: iceandfire <arhamjamal@gmail.com>

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