diff options
Diffstat (limited to 'java/com/android')
-rw-r--r-- | java/com/android/dialer/contactactions/IntentModule.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/com/android/dialer/contactactions/IntentModule.java b/java/com/android/dialer/contactactions/IntentModule.java index 57eb50a9b..aa7fd25a6 100644 --- a/java/com/android/dialer/contactactions/IntentModule.java +++ b/java/com/android/dialer/contactactions/IntentModule.java @@ -25,6 +25,7 @@ import android.telecom.PhoneAccountHandle; import com.android.dialer.callintent.CallInitiationType.Type; import com.android.dialer.callintent.CallIntentBuilder; import com.android.dialer.precall.PreCall; +import com.android.dialer.util.DialerUtils; /** * {@link ContactActionModule} useful for making easy to build modules based on starting an intent. @@ -55,7 +56,7 @@ public class IntentModule implements ContactActionModule { @Override public boolean onClick() { - context.startActivity(intent); + DialerUtils.startActivityWithErrorToast(context, intent); return true; } |