SystemUI: make clock and time clickable in statusbar

Clicking clock opens alarms, clicking the date will open the calendar.

Change-Id: I622527c1f144a8867aa543348b70a4fefe3f6403
Signed-off-by: Roman Birg <roman@cyngn.com>

(cherry picked from commit c7a4aa7d96d236835b187c72a82d7e6bf1231c3a)
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

(cherry picked from commit fc8c502d005719435b34eb1995e3ad4380312fee)
bootanimation: Only try to shutdown the mediaplayer if it was prepared

The bootanimation tries to shutdown the mediaplayer gracefully by waiting
on an asynchronous shutdown event for 5 seconds.

If, however, there is no boot sound, that asynchronous shutdown event will
never happen and the animation will be stopped for 5 seconds before shutting
down.

Visibly, this fixes the issue where the bootanimation would simply stop near
the end for exactly 5 seconds.

Change-Id: I77f5631368c7d9b9fef7941a6278af9c36032044

(cherry picked from commit 16e8c7237baccccc3f83ed024676bbfbbbc3cc53)
ContactsProvider: Make ContactCounts public like cm11

* Needed for Mms recipients list

Change-Id: I50010dc9d9759ecd04676df192ca2639e62d295b

(cherry picked from commit cb2a65970f26cac6f47518e53894a497f4bb2278)
Contacts: add the local group info and API

- add the group API for app to get/change group info
- add the group constants for app to acess the group
  database.

Change-Id: I205383ea3983675594f8fe414c466e7e55c6433e

(cherry picked from commit 30e6747f9bb951103bd1cb185db10846a8645a06)
fw/base: allow home button to wake device [1/2]

Change-Id: I2b79561dcfa7e569b2e24bbabfffb11517d4d313

(cherry picked from commit 46eb2c5e27bd9d7ca56921ac132479625e51c00c)
Answer call with hardware HOME button (2/2)

preparation to winter time

Change-Id: Ic11449acf87c6b4d932142b74158af7441658b3d

(cherry picked from commit 847b02e05d5901860a772c49c7f39c5231aede4d)