Adds null check for proximity wakelock

Bug: 11319677
Change-Id: Ie62144dc5a738bb294a802230dce7847f734f39e
Add back supplementary service notification handling.

Change-Id: Id4cdc4dbae1c262041ab3afcb3264dfe6d3673fa
Remove an extra logging call left over from development.

Change-Id: I41cda7bc38bad1acc3ad3e1270947fe77fab9416

Bug: 11748959
Decrease the timeout for unknown endcall screen from 5 to 2 sec.

bug:11651065
Change-Id: I1ab2b3690a4bb655e94811c8831a6da0d9400edb
Merge "Decrease the timeout for unknown endcall screen from 5 to 2 sec." into klp-dev
[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
Import translations. DO NOT MERGE

Change-Id: I73485cfe4185ca79d23a5e5d82fc6ffcbf7f0119
Auto-generated-cl: translation import
Merge tag 'android-4.4.2_r1' into HEAD

Android 4.4.2 Release 1
Updated Hungarian Translation

Change-Id: I8f3017277bed7493af1cb1a69b41672bd5db900c
Import translations. DO NOT MERGE

Change-Id: I207ed9f246e80a924c86268171fb9444b16e63ac
Auto-generated-cl: translation import
TRDS: Dark InCallUI

PS2:
- moved into right folder

PS3:
- redirect colors of original layout xml

Change-Id: I5bcfeb692bc4653e240df7c47216826452ee7d47
Merge "TRDS: Dark InCallUI" into kk4.4
Missing lines translated to Russian

Change-Id: Iee85d9a8f29caf593aeac2487a0498820686c14d
Import translations. DO NOT MERGE

Change-Id: Id0577c8b328def05d8a88908d0e7f3b313f49edf
Auto-generated-cl: translation import
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