commit | df2b25c3515becc4e673316751fc2e34fd0f081e | [log] [tgz] |
---|---|---|
author | Walter Jang <wjang@google.com> | Fri Oct 23 08:11:10 2015 -0700 |
committer | Walter Jang <wjang@google.com> | Fri Oct 23 08:11:10 2015 -0700 |
tree | 23d20537b6a3f048b0edeb1747253742139e7d4f | |
parent | e3727c814f7f326119ddd492fe8501db9c0964aa [diff] |
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
diff --git a/src/com/android/contacts/editor/AggregationSuggestionEngine.java b/src/com/android/contacts/editor/AggregationSuggestionEngine.java index 4423a61..fe7a653 100644 --- a/src/com/android/contacts/editor/AggregationSuggestionEngine.java +++ b/src/com/android/contacts/editor/AggregationSuggestionEngine.java
@@ -116,7 +116,7 @@ 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);
diff --git a/src/com/android/contacts/quickcontact/QuickContactActivity.java b/src/com/android/contacts/quickcontact/QuickContactActivity.java index bc2ef53..d501e77 100644 --- a/src/com/android/contacts/quickcontact/QuickContactActivity.java +++ b/src/com/android/contacts/quickcontact/QuickContactActivity.java
@@ -1316,7 +1316,6 @@ mAggregationSuggestionEngine.setListener(this); mAggregationSuggestionEngine.setSuggestionsLimit(getResources().getInteger( R.integer.quickcontact_suggestions_limit)); - mAggregationSuggestionEngine.setPruneInvisibleContacts(true); mAggregationSuggestionEngine.start(); }