diff options
author | Yorke Lee <yorkelee@google.com> | 2015-09-14 18:43:27 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2015-09-16 10:38:16 -0700 |
commit | c8d6e16572f900f01545ebf947d15e7006fe4e46 (patch) | |
tree | efdc4e7cdfb7c77a33a84db0ff2450cc61b4a510 /src/com/android/dialer/CallDetailActivity.java | |
parent | 411dd7401997a83a876446261bdf70b3e2c9c4de (diff) |
Log various call initiation entry points
Speed dial (PhoneNumberPickerInteraction, SpeedDialFragment)
Regular search (RegularSearchFragment)
Remote Directory (RegularSearchFragment)
Call Log (CallLogAdapter)
Smart Dial Search (SmartDialSearchFragment)
Dialpad (DialpadFragment)
Bug: 23164804
Change-Id: I7cc881ac655fca6d4f365b5de36a4087c4f17700
Diffstat (limited to 'src/com/android/dialer/CallDetailActivity.java')
-rw-r--r-- | src/com/android/dialer/CallDetailActivity.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/android/dialer/CallDetailActivity.java b/src/com/android/dialer/CallDetailActivity.java index 984537756..72a50127e 100644 --- a/src/com/android/dialer/CallDetailActivity.java +++ b/src/com/android/dialer/CallDetailActivity.java @@ -51,6 +51,7 @@ import com.android.dialer.calllog.PhoneAccountUtils; import com.android.dialer.util.IntentUtil.CallIntentBuilder; import com.android.dialer.util.PhoneNumberUtil; import com.android.dialer.util.TelecomUtil; +import com.android.incallui.Call.LogState; /** * Displays the details of a specific call log entry. @@ -240,7 +241,10 @@ public class CallDetailActivity extends AppCompatActivity mCallButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { - mContext.startActivity(new CallIntentBuilder(mNumber).build()); + mContext.startActivity( + new CallIntentBuilder(mNumber) + .setCallInitiationType(LogState.INITIATION_CALL_DETAILS) + .build()); } }); |