Update suggestion card after new tint color is extracted

Bug 26863662

Change-Id: I6ef993365dfb740f5538248bdcb2520a87c142ee
diff --git a/src/com/android/contacts/quickcontact/QuickContactActivity.java b/src/com/android/contacts/quickcontact/QuickContactActivity.java
index d4f961b..4d7e0b0 100644
--- a/src/com/android/contacts/quickcontact/QuickContactActivity.java
+++ b/src/com/android/contacts/quickcontact/QuickContactActivity.java
@@ -494,6 +494,9 @@
 
     @Override
     public void onAggregationSuggestionChange() {
+        if (mAggregationSuggestionEngine == null) {
+            return;
+        }
         mSuggestions = mAggregationSuggestionEngine.getSuggestions();
         mCollapsedSuggestionCardView.setVisibility(View.GONE);
         mExpandSuggestionCardView.setVisibility(View.GONE);
@@ -2307,6 +2310,8 @@
                 if (imageViewDrawable == mPhotoView.getDrawable()) {
                     mHasComputedThemeColor = true;
                     setThemeColor(palette);
+                    // update color and photo in suggestion card
+                    onAggregationSuggestionChange();
                 }
             }
         }.execute();