diff options
author | Tyler Gunn <tgunn@google.com> | 2015-08-05 08:18:37 -0700 |
---|---|---|
committer | Tyler Gunn <tgunn@google.com> | 2015-08-05 08:18:37 -0700 |
commit | 18b4a2e3b8d60df39b3489c76bf4edffb81e15a5 (patch) | |
tree | a021f0e598fa0b282060c444a389ae2002d11beb /src/com/android/dialer/CallDetailActivity.java | |
parent | 7803a759563422a12eeaf5c54561d86fd41b0d49 (diff) |
Add "Call with a note" action.
- Adding call with a note action to the call log. Capability lookup is
cached.
- Moved getLookupKeyFromUri to ContactsCommon.
- Added some extra required values in CallLogListItemViewHolder so that
the call subject dialog is able to build the correct contact photo.
Bug: 22685114
Change-Id: I6665c55137eef7db3ff7ac12d70d823937e8c28b
Diffstat (limited to 'src/com/android/dialer/CallDetailActivity.java')
-rw-r--r-- | src/com/android/dialer/CallDetailActivity.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/dialer/CallDetailActivity.java b/src/com/android/dialer/CallDetailActivity.java index c6ec8e1a0..56f2cb1dc 100644 --- a/src/com/android/dialer/CallDetailActivity.java +++ b/src/com/android/dialer/CallDetailActivity.java @@ -50,6 +50,7 @@ import com.android.contacts.common.ContactPhotoManager.DefaultImageRequest; import com.android.contacts.common.util.PermissionsUtil; import com.android.contacts.common.GeoUtil; import com.android.contacts.common.CallUtil; +import com.android.contacts.common.util.UriUtils; import com.android.dialer.calllog.CallDetailHistoryAdapter; import com.android.dialer.calllog.CallLogAsyncTaskUtil.CallLogAsyncTaskListener; import com.android.dialer.calllog.CallLogAsyncTaskUtil; @@ -162,7 +163,7 @@ public class CallDetailActivity extends Activity new CallDetailHistoryAdapter(mContext, mInflater, mCallTypeHelper, details)); String lookupKey = contactUri == null ? null - : ContactInfoHelper.getLookupKeyFromUri(contactUri); + : UriUtils.getLookupKeyFromUri(contactUri); final boolean isBusiness = mContactInfoHelper.isBusiness(firstDetails.sourceType); |