diff options
author | zachh <zachh@google.com> | 2018-06-08 16:54:19 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-06-08 17:06:18 -0700 |
commit | 2f5fc8a9f8439b87a9ebd01864c0395810992539 (patch) | |
tree | b2ac7e032366b701df142bf4b85ace2461298f46 | |
parent | e79a22e80033898a9c176be4420a46b36bea9f3d (diff) |
Don't refer to DialtactsActivity.class to launch the DIAL intent.
We want to remove DialtactsActivity but cannot replace it with MainActivity or would create a circular dependency. Instead, just let the system to pick the activity appropriate for the dial intent (which should be MainActivity).
Bug: 109931227
Test: manual
PiperOrigin-RevId: 199871747
Change-Id: I6e4a5a854f3cd04d630df9d831df2767d411f1c1
-rw-r--r-- | java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java b/java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java index 5b579f50f..e044460c5 100644 --- a/java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java +++ b/java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java @@ -51,7 +51,6 @@ import android.widget.ImageButton; import android.widget.ImageView; import android.widget.TextView; import com.android.contacts.common.dialog.CallSubjectDialog; -import com.android.dialer.app.DialtactsActivity; import com.android.dialer.app.R; import com.android.dialer.app.calllog.CallLogAdapter.OnActionModeStateChangedListener; import com.android.dialer.app.calllog.calllogcache.CallLogCache; @@ -402,7 +401,6 @@ public final class CallLogListItemViewHolder extends RecyclerView.ViewHolder return true; } else if (resId == R.id.context_menu_edit_before_call) { final Intent intent = new Intent(Intent.ACTION_DIAL, CallUtil.getCallUri(number)); - intent.setClass(context, DialtactsActivity.class); DialerUtils.startActivityWithErrorToast(context, intent); return true; } else if (resId == R.id.context_menu_block_report_spam) { |