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

Commit c399f9b1 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

am: b7635dd4

* commit 'b7635dd4':
  Update suggestion card after new tint color is extracted
parents 84921a67 b7635dd4
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();