Add back supplementary service notification handling.

Change-Id: Id4cdc4dbae1c262041ab3afcb3264dfe6d3673fa

Conflicts:
	src/com/android/incallui/CallCardFragment.java
	src/com/android/incallui/CallCardPresenter.java
[1/2] InCall: Add a non-intrusive dialog for incoming calls

Change-Id: I7c8b5cc5138a5543be30579e99bd9989624e2abe
[3/3] InCallUI: allow disabling non intrusive incall ui

Change-Id: I86bd4b46f031004fa90f1d7936263f9dabcd3860
Updated Hungarian Translation

Change-Id: I8f3017277bed7493af1cb1a69b41672bd5db900c
TRDS: Dark InCallUI

PS2:
- moved into right folder

PS3:
- redirect colors of original layout xml

Change-Id: I5bcfeb692bc4653e240df7c47216826452ee7d47
In-Call UI from blue to white

we changed the default dialpad from blue to white
but forgot this in call dialpad,
make it white ui to be consistent

Change-Id: Ie715340d69adb1514e5f1d5bb159b8c42494015a
trds: cleanup!

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

Change-Id: Ic237384fe60f23dd2b953da5d7be36c9a4c1191d
Remove non intrusive incall ui (3/3)

There are several reasons for it

- to call every time a complete new activity is the wrong way. It needs
to be handled like google is doing it which keeps the activity permanent
alive to get it as fast as possible to the front. Especially noticeable on
slower phones

- of course current way freezes the forground app....so question what is
non intrusive on this feature

- Handling what happens when screen if off and the user is not in an
activity needs to be reworked

Whatever currently we have not much time to work that all out. So for
now we remove till this feature is completly redone. All points are solvable
but need work especially point 2 which is the most work. Other points are easy
to solve. Aside that our old feature "call in background"
returns back.

Change-Id: I629b749927d154cd36438b71c4a3552a7d6e3bf6
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
InCallActivity: consume back key on incoming call screen

Users will not be able to anything if the physical back key is
pressed on the incoming call screen (return to home screen with
nothing responding.)

Forward porting the key consumption from 4.3

Change-Id: Iea0734852bac7ca5a25e19ec9d9ee7c80dba6741
[3/3] Flip to Mute/Reject Call

Ported over from 4.2 implementation (thanks sasikumardr for that)

Original author of this patch was bugadani

We did just a cleanup

Provide easy mute and dismiss functionality for the phone application.

Available actions:

0: mute ringer
1: dismiss call
2: no action (default)

PS:
- fix NPE

Change-Id: Ia10df0045e9919c6b7efc97857abaeba246c365d
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
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
InCallUI: Set Ticker to contact

Display contact/number/confrence
	in notification ticker.

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

Change-Id: Ie89cceb67aecbf3dd15abd07dc35110f7fddc2f9
InCallUI: Fix build error

Not including any resource means that the framework-res dependency
is not noted in the build system and sometimes (depending on the
timing) leads to build errors such as

http://jenkins.cyanogenmod.org/job/submission-test/7843/consoleText

Avoid the error by linking against a historical SDK and thus not
depending on framework-res.

Change-Id: I99b2ded018e0b0858bc1c3e31d236fc51d3eec2e
InCallUI: do not use reflection

Change-Id: Ia36964777f07b8cd1498eaa87e60530b679fdd13
Not using the PhoneNumberService API for reverse lookups anymore

Change-Id: I75c2a4f5241a5bef5fd78610758629f7543bc4da
InCallUI: Code cleanup

(Yes, this is a dumb commit lol)

Change-Id: Id9dc511d292e96bcda8f575bf393baa5cc4e163b