Fix for Location Services

Credit: nbehary@XDA
Bring back two-line layout for status bar date.

Change-Id: I4bf7ce61b22da89b3b8c1a3f00e077461061f7b9
Allow creating custom dialogs in DialogPreference.

This allows creating non-AlertDialogs while still using the click and
state handling of DialogPreference.

Change-Id: I54fd7d6d6b9f6a49fef1ae95e0178838b3edfa56
(1/2) Volume Rocker:

* Volume rocker wake
* Volume rocker music control

Change-Id: I0b9b252153e1fe048f7048a9da2197797a577ff1
Signed-off-by: Andre Saddler <dresadd09691@gmail.com>
Volume Rocker: Switch from Broadcast to Audioservice.

* Fix volume rocker music track seek.
* Minor fixes

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: If4afda046b9fbebda611615371a718122ffb57b6
Volume Rocker: Do not wake up during track seek.

* After switching to Audioservice track seek works great but it woke the device too if we select both options. Wake only if we do not skip tracks (like raising the volume).

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
[1/2] base: expandable volume panel and tweaks

* Ditch aosp volume panel and use expandable as default, hardcode it.
* Add VOLUME_LINK_NOTIFICATION option to allow adjusting notification
  and ringer separately (default=1).
* Add VOLUME_ADJUST_SOUNDS_ENABLED option to allow disabling
  the volume adjust sound (default=1).
* Replace old Settings slider icon with new KitKat cog icon

Signed-off-by: Ricky Salinas <rsalinas1@mail.usf.edu>
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: I94e0f944f76ee9751663de8ac40d99a342884259
Volume Rocker: Hardcode music track seek option (1/2).

* The feature is enabled by default but not configurable.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS2:

* Remove unneeded variables.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: I0c72dd00f8a161255a59330862fa69c66735a3e4
Notification LED Control (1/2).

[Original writen at CyanogenMod by David Van Tonder (DvTonder <david.vantonder@gmail.com>).]

* Make led color customizable.
* Global and per-app settings.
* Default led color is white.
* The option category replace old stock on/off checkbox.
* Remove useless code from display settings, the feature has its own java files.
* The java files in settings are stored into its own com/android/settings/notificationligh folder.
* Credits into code comments of each specific java file.

PS2/3/4:

* Fix code derps.
* Forget to define a method.
* Remove wrongly added code.

PS5/6:

* Move entries to pa_symbols and pa_config.
* Update description.

PS7:

* Use ArrayMap instead of HashMap (more memory efficient).
* Remove observer for medium battery level.

PS8:

* Correctly import ArrayMap.
* Didn't updated creating of ArrayMaps.

PS9/10:

* Fix defaults.
* Enable battery led.
* Update description.

PS11/12:

* Ditch battery led option.
* Update commit description.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: I34654992e0225c32413e6cbe9f0ca18c1729a186
LED: Simplify logic

Removed settings observer for enabling custom led settings.

Change-Id: Ic5dfec96696ad5d2f7247b4a04a2df584dd35454
"Clear all" button on recent apps

Port forward from cm-10.2

Change-Id: I9ebcf22f85957f61caefb14e0efd4cf2978d92cd

Conflicts:
	packages/SystemUI/src/com/android/systemui/recent/RecentsHorizontalScrollView.java
Fix "no recent apps" color

RIP #33b5e5

Change-Id: Iae5948e224d06023962e43f905756017b42f0637
Forward port SystemUI: HSPA+ Support

Add the ability to recognize HSPA+ by creating a separate case for HSPAP and
include new H+ icons.

Signed-off-by: Bajee11 <bajee11@gmail.com>
Change-Id: I889a28e4b4cb49862b291641df5a00388db87551
Add RTL variants for HSPAP H+ icon

Change-Id: I281083572d07773e4a00079bd947bfd0f4ddf6bb
String for HSPA+

Conflicts:
	packages/SystemUI/res/values/strings.xml
[1/2] Base: Double tap to sleep
Framework: Forward port Power menu reboot by DvTonder

This is a stripped down version of his power menu config patch

Change-Id: I5cc9f900bdb2bb1f0a11014a09f8c792cac850e7
Framework: Add Advanced reboot (2 of 2) By DvTonder

This commit responds to a setting in Development settings for including
options in the power menu for rebooting into recovery or bootloader. It
is defauled to off.

When enabled, the Advanced reboot options will only be available once the
device is unlocked.

Change-Id: I675f31de1f82c344c7923e953fd4a6e26dd036da
[2/2] base: Set AdvancedReboot to be enabled by default
RE: http://jira.omnirom.org/browse/OMNI-1

Because I am a dufus

Edit 9001: Setting this to be enabled by default for all users

Change-Id: Icd2c10ffd20c172374c51f300912b5c710f73bf8