[3/3] InCallUI: Flip to Mute/Reject Call

Actual Logic for this functionality.

PS2: Remove unwanted space

Base: https://gerrit.omnirom.org/#/c/4668/
Telephony: https://gerrit.omnirom.org/#/c/4670/

Change-Id: Ia10df0045e9919c6b7efc97857abaeba246c365d
InCallUI: Incoming Call in Background (1/3)

Patch ported from 4.2 which was done by our lovely HCP. A
very popular one so we bring it back and adapt it to 4.4

Allows user to set that Incoming Call UI will remain in background
if screen is on. Instead, a notification is added to StatusBar, which
can be used to bring up the Incoming Call UI. Ringtone and vibration
still occur as per system settings.

This has the same effect as apps marked as "immersive". It prevents
the incoming call from backgrounding the current activity.

PatchSet:
- show normal inCallUI if keyguard is currently active

PS:
- cleanup

PS
- do not try to get the services if the feature is disabled

PS:
- do not disable notificationshade and navbar if it is a background call

PS:
- derp

Change-Id: I68e432a548c10d07cc9d668782cb544fbb4d421d
InCallUI: add decline and answer  incoming call action on notifications

Add decline and answer call action on notification if an call is incoming. Especially
usefull for call in background feature to have the ability to directly
decline or answer a incoming call. But as well usefull to decline/answer a second call
during one is incomming.

PS:
- found a better way for the answer button

PS:
- fix keep flip action alive
- fix collapse notification shade when answering call
- answer call before starting the UI to do not have
  shown the incall screen for a brief second

PS:
- fix wrong user on sending close system dialogs

Change-Id: I92d8f5a2de74f9877a61c4da4c3eaf2e25230895

Conflicts:

	AndroidManifest.xml
	src/com/android/incallui/InCallPresenter.java
InCallUI: Set Ticker to contact

Display contact/number/confrence
	in notification ticker.

PS2:
Implement Kufikugel's suggestion.
	Incoming call ticker only.

Change-Id: Ie89cceb67aecbf3dd15abd07dc35110f7fddc2f9
Keep InCallUI in memory (1/3)

In lower end devices, startup of the InCallUI process can take
up to 10 seconds when the device is busy, which prevents the user
from taking the call. Keep the process in memory like previous
versions where they are a part of Phone.apk.

This converts InCallUI into a dummy apk with the persistent
attribute set to true and allows the activity from Dialer.apk,
which uses the com.android.incallui process to be loaded into the
persistent process.

Change-Id: Idfb7fa760eacc8d6e46d50ce682fb06c0acfc8f4

Conflicts:

	Android.mk
	AndroidManifest.xml
InCall full screen photo

Change-Id: Ie76cbc53c176d94bfb2402bf50eae6161fbb2198
Revert "InCall full screen photo"

This reverts commit 3a2f271994b9e2f7a2ea39312b2f4ad1535107b0.
TRDS: Dark InCallUI

PS2:
- moved into right folder

PS3:
- redirect colors of original layout xml

Change-Id: I5bcfeb692bc4653e240df7c47216826452ee7d47

Conflicts:
	res/layout/card_call_incoming.xml

Conflicts:

	res/layout/card_call_incoming.xml
trds: cleanup!

drawables not needed anymore after this
https://gerrit.slimroms.net/#/c/1675/

Change-Id: Ic237384fe60f23dd2b953da5d7be36c9a4c1191d
Merge branch 'chenleicpp' into cl-4.4