Fix frontOfTask assignment.

If all activities of a given stack were finishing, no activity was
marked as front-of-task. This confused ActivityManager, so make sure
there's always exactly one activity marked as front-of-task.

https://android-review.googlesource.com/#/c/98918

Change-Id: I087cbe10280d4a60aa5ccfaefe24a223523fb3f2
Base: QuickSettings: fix text size on landscape

Change-Id: I043ee71aa8b4e74fd8038fca7613e22b73c81ff5
Base: Allow unregister Callback and Controller

Battery, Bluetooth, Network, Location controller
always set callback without release them if callback owner is missing

add this method to unregister the callback to prevent memory leak

fix whitespace

Change-Id: I0d6451ddfb681bd5301e7958e20d2462d4a82039
Merge "Fix frontOfTask assignment." into android-4.4
base: added charging animation for battery percent style

Inspired from circle style

http://jira.omnirom.org/browse/OMNI-840

PS3:
-using bar style

PS8:
-again full height band

Change-Id: I5a83cd7ea6fa437a9bdf0e9b4451071a591cd3b5
DocumentsUI: fix recursive delete

Create one DirectoryLoader in UI thread to use for delete

Change-Id: I83a5811f152090f7812ad58ff4ee3bc13748d158
Externalize symbol picker options to resources

Having the symbol picker options in resources allows a change to be made for
a specific device, and even for a specific locale (change in overlay).

Ported from cm10.2: http://review.cyanogenmod.org/32581

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I72ff6fab6b9c14f9761904fdcc6918784d790d4d
Merge remote-tracking branch 'upstream/android-4.4' into android-4.4

Sync with omni