Adds null check for proximity wakelock

Bug: 11319677
Change-Id: Ie62144dc5a738bb294a802230dce7847f734f39e
[1/2] InCall: Add a non-intrusive dialog for incoming calls

Change-Id: I7c8b5cc5138a5543be30579e99bd9989624e2abe
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
Phone: Add transparency to incall screen

Makes the background of multiview semitransparent.
It allows to at least see whole image of incoming caller.

Original commit: https://github.com/AOKP/packages_apps_Phone/commit/0a4c57816f55f6c0a1fbff457d2ccabc81e8f9e6

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

Change-Id: I86bd4b46f031004fa90f1d7936263f9dabcd3860
Merge "[3/3] InCallUI: allow disabling non intrusive incall ui" into android-4.4
Merge tag 'android-4.4.1_r1' into HEAD

Android 4.4.1 Release 1
InCallUI: RU translation fix

Change-Id: If01d2a1b3187bbeba133d50f030d3f1c0233e44c
InCallUI: fix non intrusive incallui layout

- makes the decline/answer buttons evenly sized
- decrease font size of buttons to 13sp so the non-english button labels fit better

before: https://www.dropbox.com/s/g9mn72qhzq6wlbt/2014-01-01%2006.00.31.png
after:  https://www.dropbox.com/s/dfhmaliz6a21lk5/2014-01-01%2010.30.42.png

Change-Id: I88e0f0a1358595f2ce86dddcae2ab4d4e788fc1a
InCallUI: Disable Back button on Non-intursive InCall Card

Fix for jira issue http://jira.omnirom.org/browse/OMNI-296

PS2 to PS5: code cleanup

PS6: Remove Jira issue url from code

Change-Id: I257daccbb175265e2430f1b0b30c9175cb4b1981
[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
Merge "InCallUI: RU translation fix" into android-4.4
InCallUI: Flip to Mute/Reject Call cleanup: fix ITelephony access

Using reflection to access ITelephony is a strange idea

Change-Id: Ia34b135460cc2b85fbd5db4585228a015c2a52b1
[4/4] InCallUI: Add Dialer suggestions and reverse lookup

Change-Id: I07f1df58a6b94ac19c148f84db3881ade409b6cb
[1/2] InCallUI: unify flip action handler

We cannot share the code since DeskClock is only using
the app API but we can at least share the file :)

PS2
NPE derp

Change-Id: I1c5bfc36c18d00f91dcb5d2dcfe646543efdb205
Merge "[4/4] InCallUI: Add Dialer suggestions and reverse lookup" into android-4.4
InCallUI: add Incoming Call Background (non-Intrusive InCall improvement)

last week, as we know we have bug with non-Intrusive Incall on Back pressed
and we already fix that by disabled Back pressed while non-Intrusive InCall enabled

instead disabled Back pressed, this patch introduce non-Intrusive Incall will go to background mode
using Notification on Statusbar

Based on SlimRoms patch
https://gerrit.slimroms.net/1857

with changes to follow Intrusive Incall

ps5 - allow flip actions while call is in statusbar/notification area (background)
    - show the navbar so devices without hardware keys can actually have the back
      button there

Change-Id: Id9456a48fc767a7a3fe46912c7cba0d3dee93991
[3/7] InCallUI: Blacklist support

Base: https://gerrit.omnirom.org/#/c/5668/
telephony: https://gerrit.omnirom.org/#/c/6347/
Mms: https://gerrit.omnirom.org/#/c/5671/
Settings: https://gerrit.omnirom.org/#/c/5011/
TelephonyProvider: https://gerrit.omnirom.org/#/c/5012/
Telephony: https://gerrit.omnirom.org/#/c/5010/

Change-Id: I38e3f38ec4a773485c065d258e1ab5d40b9ddd53
InCallUI: FR translation

Change-Id: If81f5a88098e4effa60290de3b870036dc2d069e