summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2016-02-18 21:23:08 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-02-18 21:23:08 +0000
commit7383c6b919a6a82516d1cac2ea8e5b6a1340e05a (patch)
tree8d07c398628f15853b93d34f88e34575cdb6e140
parentd874962833eb0aab8a75d3f1a837bfd58eb3e46e (diff)
parent05b9f5bb258897c4f54df8735093d6d7a347e77e (diff)
Merge "IMS-VT: Use original dialed string instead of normalized dial string" into nyc-dev am: 3fc59a42bb
am: 05b9f5bb25 * commit '05b9f5bb258897c4f54df8735093d6d7a347e77e': IMS-VT: Use original dialed string instead of normalized dial string
-rw-r--r--src/com/android/dialer/list/SearchFragment.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/dialer/list/SearchFragment.java b/src/com/android/dialer/list/SearchFragment.java
index d1a0be0a1..82395b6f8 100644
--- a/src/com/android/dialer/list/SearchFragment.java
+++ b/src/com/android/dialer/list/SearchFragment.java
@@ -275,7 +275,8 @@ public class SearchFragment extends PhoneNumberPickerFragment {
DialerUtils.startActivityWithErrorToast(getActivity(), intent);
break;
case DialerPhoneNumberListAdapter.SHORTCUT_MAKE_VIDEO_CALL:
- number = adapter.getQueryString();
+ number = TextUtils.isEmpty(mAddToContactNumber) ?
+ adapter.getQueryString() : mAddToContactNumber;
listener = getOnPhoneNumberPickerListener();
if (listener != null && !checkForProhibitedPhoneNumber(number)) {
listener.onPickPhoneNumber(number, true /* isVideoCall */,