diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-05-18 23:59:21 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-05-18 23:59:21 +0000 |
commit | bab3b1069336e31048bfcde7a4e665007cfded5a (patch) | |
tree | f5ded8c30d282e6d02aca725e7949b9ac58f3523 /java/com/android/dialer/main/impl/MainSearchController.java | |
parent | 5f3a727a922ed9ebeaaa64b3d40353576cad09f6 (diff) | |
parent | f3291fb8739679a84257f8574c61331af070970f (diff) |
Merge "Fix video call from search stripping + prefix"
Diffstat (limited to 'java/com/android/dialer/main/impl/MainSearchController.java')
-rw-r--r-- | java/com/android/dialer/main/impl/MainSearchController.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/java/com/android/dialer/main/impl/MainSearchController.java b/java/com/android/dialer/main/impl/MainSearchController.java index fc4fc3dcb..945e8a948 100644 --- a/java/com/android/dialer/main/impl/MainSearchController.java +++ b/java/com/android/dialer/main/impl/MainSearchController.java @@ -444,11 +444,12 @@ public class MainSearchController implements SearchBarListener { /** @see OnDialpadQueryChangedListener#onDialpadQueryChanged(java.lang.String) */ public void onDialpadQueryChanged(String query) { - query = SmartDialNameMatcher.normalizeNumber(/* context = */ activity, query); + String normalizedQuery = SmartDialNameMatcher.normalizeNumber(/* context = */ activity, query); if (searchFragment != null) { - searchFragment.setQuery(query, CallInitiationType.Type.DIALPAD); + searchFragment.setRawNumber(query); + searchFragment.setQuery(normalizedQuery, CallInitiationType.Type.DIALPAD); } - dialpadFragment.process_quote_emergency_unquote(query); + dialpadFragment.process_quote_emergency_unquote(normalizedQuery); } @Override |