Allows PhoneNumberService to be null for AOSP incallui.

bug:10573211
Change-Id: I57ea456b286845fd1c9cf65833c32d4bfb227fc3
diff --git a/InCallUI/src/com/android/incallui/CallCardPresenter.java b/InCallUI/src/com/android/incallui/CallCardPresenter.java
index 42dfb8e..db5b66a 100644
--- a/InCallUI/src/com/android/incallui/CallCardPresenter.java
+++ b/InCallUI/src/com/android/incallui/CallCardPresenter.java
@@ -69,8 +69,6 @@
 
     public void init(Context context, PhoneNumberService phoneNumberService, Call call) {
         mContext = Preconditions.checkNotNull(context);
-        mPhoneNumberService = Preconditions.checkNotNull(phoneNumberService);
-        mContext = context;
         mPhoneNumberService = phoneNumberService;
 
         // Call may be null if disconnect happened already.
@@ -448,7 +446,7 @@
     }
 
     private void fetchImage(final String url) {
-        if (url != null) {
+        if (url != null && mPhoneNumberService != null) {
             mPhoneNumberService.fetchImage(url, new PhoneNumberService.ImageLookupListener() {
                 @Override
                 public void onImageFetchComplete(Bitmap bitmap) {