Add support for QC's time_daemon

Enabled by BOARD_USES_QC_TIME_SERVICES=true, it requires the device
to provide its own time_daemon executable and libtime_genoff.so
proprietaries. The library should be copied by the device's setup
config to $OUT/obj/lib for linkage (and pushed to the final build,
obviously)

Change-Id: Ie6964dbe2692dc33fc04093a5b89b6922d8443c8
SystemUI: Fix missing top task in recent panel.

If preloadRecentTasksList was not called or was called too
late and RecentsActivty already started and last top activity has
excludeFromRecents flag setted it might be missing
from recent application list.

Change-Id: Idf7153824805ceea9fcaf04ac645b73a5e93a4d9
Adjust KitKat easter egg to display "K" no matter what

The way is currently working, it pulls the first letter of the build_id for the easter egg. This is making it to where some devices show a "J" instead of a "K", the way it was meant to be.

Change-Id: I6e91bdc5695e2b2e8317a4ba20df33d6f744437f
Immersive mode

This adds the ability to toggle statusbar / navbar via quicksettings (former expanded desktop), but
using the new 4.4 APIs that allow a swipe-up, swipe-down gesture, to restore bars.

Credits to CM project for the implementation
http://review.cyanogenmod.org/#/c/53468/

Drawables by Arz Bhatia

Change-Id: I1f694d87f0364aed7b6951714ea2bfbfd8555064

Credits to ParanoidAndroid for the cleaner implementation
https://gerrit.paranoidandroid.co/#/c/235/

Change-Id: Ie8ef8cf5c66a33f9991a9bcf2ea088b82163c86d
WMS: fix no thumbnail image of Gallery in the recent tasks list.

When it takes the screenshot of an application, it will calculate
the minLayer and maxLayer first, and if a window is full screen,
it won't deal with the windows below it. However, the surfaceview
is placed below a window but will be displayed at front, this make
the surface view can not be included when take the screenshot of
an application, then it diaplays a black area in the recent tasks
list.

If the currect window is full screen, no need to finish the
calculation.

CR-Fixed:566752

Change-Id: Iaf3e9a3e6520007571ea545ccc9c05d4b1b416fd
Revert "Add permission that allows cancelling notifications from other apps."

Change-Id: I4eaf3eedacc99db47da384ecb976fe8ef6a97209
Add SMS Middleware layer.

Add fix so ordered broadcasts are delivered to system
apps first in the event of a tie. This works around
the issue where terrible apps steal SMS notifications
from the broadcast queue to simply prevent notifications
that could otherwise be removed by a toggle.

Change-Id: I30e38c6c27d339d55a8f9a0f4106185356a9b9a0
Revert "PhoneWindowManager: Delay setting updates during window animation."

This reverts commit 00295091b558ca8ea17cd5786a08865c57dc6675.

Change-Id: Ice177d099a9865848c9919f3452bb0f1d28ae81a
SystemUI: do not collapse panels if keyevent was canceled.

Change-Id: I9af82e9fa2305142521075938dfd05521adeb9f4
Code fixes

* remove dependency for immersive mode, we want it to enable it freely, not just by disabling it
* wrong redirection to drawables
* expand desktop code kang derp

Change-Id: I42f558385f581ac933550477a12310b343470fde
SystemUI: fix RecentPanel position in landscape mode.

In landscape mdoe we forcing ltr layout direction. This cause
call to resolvePadding too late and discards paddings
computed by fitSystemWindows. To workaround this we can catch
onRtlPropertiesChanged and force executuin of fitSystemWindows
one more time. To fix scroll issue after padding will be setted
we calling scrollTo with correct position.

Change-Id: I0ac10ac3554142b15114ce7588b61debda27235a
ExternalStorageProvider: Add support for root and external storage

Google decided to only show the emulated (fuse) internal storage in
ExternalStorageProvider. This provider is used to display storages
in DocumentsUI, the Kitkat file picker, that can be used by apps.

It would be a shame if you can't pick the pictures that are on your
external SDcard :)

Change-Id: I96a8d75ccc911f6f0e7f091c20aaefd510dc3327
base: fix external sdcard mountpoint

It needs to add that line on init.xxxx.rc on rootdir folders.

"chown root root /mnt/media_rw"

Needed for devices that has some troubles mounting storages.

Credits: http://forum.xda-developers.com/showthread.php?t=2537793

Change-Id: I0c9e2ae5439c8d8a762904e2760eb6590ce77a62
AF: Fix display of units.

In Afrikaans we do not put the unit infront of the size ie MB30
should be rather 30MB

Change-Id: I16c1fcf22b3f66a2b14429ff15afa07fcb9e9156
Remove videos

Change-Id: Iece10bffbff1689f276493aa6423659f79b128b9
Fix Merge