diff options
author | Chiao Cheng <chiaocheng@google.com> | 2012-09-05 16:00:16 -0700 |
---|---|---|
committer | Chiao Cheng <chiaocheng@google.com> | 2012-09-05 16:00:16 -0700 |
commit | 9d4f3b20793a007b4489547aa40fc1049d0d8fef (patch) | |
tree | 4903ec17ccdc74d6c5977767052b2529b77bba14 /src/com/android/dialer/DialtactsActivity.java | |
parent | 91197049c458f07092b31501d2ed512180b13d58 (diff) |
Moving resources from Contacts to Dialer.
- Also moving some shared utilities.
Bug: 6993891
Change-Id: I5fa18d26e4f5423f4d3f3450b8f3e3dacbfb947a
Diffstat (limited to 'src/com/android/dialer/DialtactsActivity.java')
-rw-r--r-- | src/com/android/dialer/DialtactsActivity.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java index 841db1c90..c49e05b31 100644 --- a/src/com/android/dialer/DialtactsActivity.java +++ b/src/com/android/dialer/DialtactsActivity.java @@ -56,6 +56,7 @@ import android.widget.SearchView; import android.widget.SearchView.OnCloseListener; import android.widget.SearchView.OnQueryTextListener; +import com.android.contacts.common.CallUtil; import com.android.contacts.ContactsUtils; import com.android.contacts.R; import com.android.contacts.activities.TransactionSafeActivity; @@ -66,7 +67,6 @@ import com.android.contacts.list.ContactListItemView; import com.android.contacts.list.OnPhoneNumberPickerActionListener; import com.android.contacts.list.PhoneNumberPickerFragment; import com.android.contacts.util.AccountFilterUtil; -import com.android.contacts.util.Constants; import com.android.dialer.calllog.CallLogFragment; import com.android.dialer.dialpad.DialpadFragment; import com.android.dialer.list.PhoneFavoriteFragment; @@ -852,7 +852,7 @@ public class DialtactsActivity extends TransactionSafeActivity } if (Intent.ACTION_VIEW.equals(action)) { final Uri data = intent.getData(); - if (data != null && Constants.SCHEME_TEL.equals(data.getScheme())) { + if (data != null && CallUtil.SCHEME_TEL.equals(data.getScheme())) { return true; } } @@ -926,7 +926,7 @@ public class DialtactsActivity extends TransactionSafeActivity @Override public void onCallNumberDirectly(String phoneNumber) { - Intent intent = ContactsUtils.getCallIntent(phoneNumber, getCallOrigin()); + Intent intent = CallUtil.getCallIntent(phoneNumber, getCallOrigin()); startActivity(intent); } }; |