Fix possible NPE in DialerDatabaseHelper

In certain cases (third party contact backup solutions?) it is possible
for raw contacts to end up with null display names, which the Dialer
was crashing on. This fix performs a null check and inserts the default
(No name) contact name if we find that the display name is null.

Bug: 11750613
Change-Id: Ifbaf2861534e6eaf8a86d50d584d11a9fa38b65f
Import translations. DO NOT MERGE

Change-Id: Ibf5cabd4967cd296e8e93c2d1ee1853599fff0bf
Auto-generated-cl: translation import
trds: fix blue call log header text color

forgot to changed if trds is activated

Change-Id: I566d8b2a46765acfa3a4ecd185647bd9f974f912
Dialer: Open source google dialer and more (1/5)

This is an open source variant of the well known google Dialer which gives the
ability to show nearby places and revese lookup. It uses default the Google
engine to do this. As well you have the ability to use other providers.

Providers which are currently available:

lookup/nearby places:
Google
OpenStreetMap

Reverse lookup:
Google
OpenCnam (US-only)
WhitePages (US-only)
YellowPages (US-only)
ZabaSearch (US-only)

PS:
- make some logcat debug logging optional to prevent showing sensible
  user information
PS
- some more debug hide

Change-Id: I6d6686c132c37cbeb45f87d824ad7eefbabc63e6
Merge "Dialer: Open source google dialer and more (1/5)" into kk4.4
apps/Dialer: translation - RU

I6d6686c132c37cbeb45f87d824ad7eefbabc63e6

Change-Id: I003ebee5b59d53d268ef843ddbbcaff8d0ad517c
WhitePages API: Only reload page if the first load has the UUID for the cookie

Change-Id: Ifad528f06f16a6a5b61bcad88921b8df49a08612
Merge "WhitePages API: Only reload page if the first load has the UUID for the cookie" into kk4.4
[2/2] Dialer: Add WhitePages Canada reverse lookup provider

Change-Id: Ie4d5302945c39efca9f4b5fbf6dee9a63ec24184
Merge "[2/2] Dialer: Add WhitePages Canada reverse lookup provider" into kk4.4
HUN Translations updated

Change-Id: Ifc42f6fe99669fbf4247a72c9195c9a76df9a901
Russian T9 for Dialer

PS6:  final nitpick: replaced getLanguage() with
      getCountry() call - primarily for those who are
      going to implement Chinese Traditional/Simplified
      support (because they all have "zh" language code,
      but letters are different in rHK/rCN)
PS7:  polishing: wrapped some lines at 100 chars, restored
      original dimens.xml / colors.xml values (looks better
      with 41dp, color change could go into another commit)
      ... purged earlier patch set changes
PS8:  fixed MDPI compatibility, marked 1/0/*/# "letters" as
      untranslatable (they are not displayed in any case)
PS9 & PS10: added "values-en-rRU" (Dmitriy).
PS11: minor padding tweak (7dp -> 8 dp).
PS12: fix buttons being 11dp off to the left, this can not
      be unseen.

Conflicts:
	res/values-ru/slim_strings.xml
	res/values/slim_strings.xml

Next attempt
Removed GreekSmartDialMap and HebrewSmartDialMap as ones to be included separately

Change-Id: Ib99ff7b9ef5184db0450fe1bc8a6de79eb7efe24
Import translations. DO NOT MERGE

Change-Id: Ia9424a0fbe8f6c04d15dfb60981eda2fb3abda00
Auto-generated-cl: translation import
Merge "Russian T9 for Dialer" into kk4.4
[2/2] Dialer: Add YellowPages Canada reverse lookup provider

Change-Id: I07ca3932d024a5c834c25e23b2e16094ed1f974e
Temporarily stop UI refresh during drag and drop

If the user is in the middle of a drag and drop operation, temporarily
stop UI refreshes when a new cursor is delivered, to prevent UI
inconsistencies.

This CL only fixes the dragging/dropping case. Swiping is still buggy
(the fix is more complicated/risky), and swiping might be removed
altogether in the future.

Bug: 11119329
Change-Id: I2939c915d4eb5d8f9de19a369b21c6c98806ba94
(cherry picked from commit 670fd3f59160bdb81f38b6be2f176ba233915686)
Fix crash when number is null

Fix crash in various routines when the number is null.

Bug:11766758
Change-Id: I3bcedbd8ada663a8c47528f32e213f653195fe57
(cherry picked from commit 21d991ee8bab6e2ef7d9df0b268b39053b21cf5b)
Fix ANR in UndemoteOutgoingCallReceiver

Querying the contacts provider for the contact id should happen
in a new thread as well.

Bug: 11773499
Change-Id: I715e7e9b4a650efbd708d4ad3793dad742b74a14
(cherry picked from commit ab9ae646ad4926b69dc02502861e8919b2cdb711)
Fix NPE in DialerDatabaseHelper for null phone numbers

Bug: 12006585
Change-Id: Iaed732806cbb8fb0301596162102e81ab8ec6024
(cherry picked from commit 1ef2b4a896e301b9e81aee073e58e35216128b2e)
Catch ActivityNotFoundException in CallDetailActivity

Bug: 12015287
Change-Id: I23b167e22d0da7f9be98b49e120b5b8ac1700e9a
(cherry picked from commit 7d67c9b12eb80f707e1f3578104b3dbf0a75c88a)