diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-12-19 23:02:34 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-12-19 23:02:34 +0000 |
commit | f976beb4b56b9b0b1ea17c6466d79b16a4eb7477 (patch) | |
tree | 4538bd3030d9cfaf2fa602f693bc483e8d947e11 /java/com/android/dialer/dialpadview/SmartDialCursorLoader.java | |
parent | 0f76636bba4a2c01663c98fa4f3a88d3435e45d7 (diff) | |
parent | e12f924c45d9e40dbdd23ad01b7bde855b82c4c8 (diff) |
Merge changes Ic5616af0,I5e4c3e61
* changes:
Add flags for the Duo install, activate and invite buttons
Support dual alphabets in smart dial.
Diffstat (limited to 'java/com/android/dialer/dialpadview/SmartDialCursorLoader.java')
-rw-r--r-- | java/com/android/dialer/dialpadview/SmartDialCursorLoader.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/java/com/android/dialer/dialpadview/SmartDialCursorLoader.java b/java/com/android/dialer/dialpadview/SmartDialCursorLoader.java index 271535fce..d085b55bd 100644 --- a/java/com/android/dialer/dialpadview/SmartDialCursorLoader.java +++ b/java/com/android/dialer/dialpadview/SmartDialCursorLoader.java @@ -26,7 +26,6 @@ import com.android.dialer.database.Database; import com.android.dialer.database.DialerDatabaseHelper; import com.android.dialer.database.DialerDatabaseHelper.ContactNumber; import com.android.dialer.smartdial.SmartDialNameMatcher; -import com.android.dialer.smartdial.SmartDialPrefix; import com.android.dialer.util.PermissionsUtil; import java.util.ArrayList; @@ -59,10 +58,10 @@ public class SmartDialCursorLoader extends AsyncTaskLoader<Cursor> { if (DEBUG) { LogUtil.v(TAG, "Configure new query to be " + query); } - mQuery = SmartDialNameMatcher.normalizeNumber(query, SmartDialPrefix.getMap()); + mQuery = SmartDialNameMatcher.normalizeNumber(mContext, query); /** Constructs a name matcher object for matching names. */ - mNameMatcher = new SmartDialNameMatcher(mQuery, SmartDialPrefix.getMap()); + mNameMatcher = new SmartDialNameMatcher(mQuery); mNameMatcher.setShouldMatchEmptyQuery(!mShowEmptyListForNullQuery); } |