Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7635dd4 authored by Wenyi Wang's avatar Wenyi Wang Committed by android-build-merger
Browse files

Update suggestion card after new tint color is extracted

am: 1d86a67a

* commit '1d86a67a':
  Update suggestion card after new tint color is extracted
parents dbeca521 1d86a67a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -494,6 +494,9 @@ public class QuickContactActivity extends ContactsActivity

    @Override
    public void onAggregationSuggestionChange() {
        if (mAggregationSuggestionEngine == null) {
            return;
        }
        mSuggestions = mAggregationSuggestionEngine.getSuggestions();
        mCollapsedSuggestionCardView.setVisibility(View.GONE);
        mExpandSuggestionCardView.setVisibility(View.GONE);
@@ -2307,6 +2310,8 @@ public class QuickContactActivity extends ContactsActivity
                if (imageViewDrawable == mPhotoView.getDrawable()) {
                    mHasComputedThemeColor = true;
                    setThemeColor(palette);
                    // update color and photo in suggestion card
                    onAggregationSuggestionChange();
                }
            }
        }.execute();