summaryrefslogtreecommitdiffstats
path: root/src/com/android/dialer/interactions
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2015-05-12 19:09:00 -0700
committerAndrew Lee <anwlee@google.com>2015-05-13 11:55:22 -0700
commit247df6ee4f43af916f7e7f339ed181a18807ef36 (patch)
tree5398368b42b5b18d525a8112eb7556dde0da42e7 /src/com/android/dialer/interactions
parent8ba6e006159a887671862c314e94487c0fd5e8e0 (diff)
downloadandroid_packages_apps_Dialer-247df6ee4f43af916f7e7f339ed181a18807ef36.tar.gz
android_packages_apps_Dialer-247df6ee4f43af916f7e7f339ed181a18807ef36.tar.bz2
android_packages_apps_Dialer-247df6ee4f43af916f7e7f339ed181a18807ef36.zip
Reorganize Intent utilities, add send SMS intent.
+ Rename CallIntentUtils.java to IntentUtil.java. + Consolidate various intent creation methods to new file, and update referenes throughout the application. Bug: 20433758 Change-Id: Iee9e37985217c38c816124d0e74dff40a2871680
Diffstat (limited to 'src/com/android/dialer/interactions')
-rw-r--r--src/com/android/dialer/interactions/PhoneNumberInteraction.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/dialer/interactions/PhoneNumberInteraction.java b/src/com/android/dialer/interactions/PhoneNumberInteraction.java
index 8d6de7162..8455f2423 100644
--- a/src/com/android/dialer/interactions/PhoneNumberInteraction.java
+++ b/src/com/android/dialer/interactions/PhoneNumberInteraction.java
@@ -52,7 +52,7 @@ import com.android.contacts.common.activity.TransactionSafeActivity;
import com.android.contacts.common.util.ContactDisplayUtils;
import com.android.dialer.R;
import com.android.dialer.contact.ContactUpdateService;
-import com.android.dialer.util.CallIntentUtil;
+import com.android.dialer.util.IntentUtil;
import com.android.dialer.util.DialerUtils;
import com.google.common.annotations.VisibleForTesting;
@@ -322,7 +322,7 @@ public class PhoneNumberInteraction implements OnLoadCompleteListener<Cursor> {
Intent.ACTION_SENDTO, Uri.fromParts("sms", phoneNumber, null));
break;
default:
- intent = CallIntentUtil.getCallIntent(phoneNumber, callOrigin);
+ intent = IntentUtil.getCallIntent(phoneNumber, callOrigin);
break;
}
DialerUtils.startActivityWithErrorToast(context, intent);