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

Commit df2b25c3 authored by Walter Jang's avatar Walter Jang
Browse files

Prune invisible link suggestions by default

It's weird that the quick contact card and the editor
name popup show different things.

Bug 25186736

Change-Id: Iaab525926bdcbab0664c44b46ba493f145059263
parent e3727c81
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -116,7 +116,7 @@ public class AggregationSuggestionEngine extends HandlerThread {
    private ContentObserver mContentObserver;
    private Uri mSuggestionsUri;
    private int mSuggestionsLimit = 3;
    private boolean mPruneInvisibleContacts;
    private boolean mPruneInvisibleContacts = true;

    public AggregationSuggestionEngine(Context context) {
        super("AggregationSuggestions", Process.THREAD_PRIORITY_BACKGROUND);
+0 −1
Original line number Diff line number Diff line
@@ -1316,7 +1316,6 @@ public class QuickContactActivity extends ContactsActivity
            mAggregationSuggestionEngine.setListener(this);
            mAggregationSuggestionEngine.setSuggestionsLimit(getResources().getInteger(
                    R.integer.quickcontact_suggestions_limit));
            mAggregationSuggestionEngine.setPruneInvisibleContacts(true);
            mAggregationSuggestionEngine.start();
        }