diff options
author | Nancy Chen <nancychen@google.com> | 2014-06-11 17:56:07 -0700 |
---|---|---|
committer | Nancy Chen <nancychen@google.com> | 2014-06-26 16:21:15 -0700 |
commit | 87ba489564b25d4a64c9faaeafea46e2f72d8933 (patch) | |
tree | 15d3eb5c9865eb1bc4c3244d3277c3ea7ab23a3b /src/com/android/dialer/calllog/CallLogListItemViews.java | |
parent | 8a80d19f88d224f1427d7656e361eb77e1f90974 (diff) |
Add icon indicating subscription in call log/call history
Display an icon in the call details showing which connection provider
(subscription) is responsible for the call.
Bug: 15473965
Change-Id: I0c6755864083799b8bafe20c3692b0d943beeee3
Diffstat (limited to 'src/com/android/dialer/calllog/CallLogListItemViews.java')
-rw-r--r-- | src/com/android/dialer/calllog/CallLogListItemViews.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/com/android/dialer/calllog/CallLogListItemViews.java b/src/com/android/dialer/calllog/CallLogListItemViews.java index ade720f41..39c6e6435 100644 --- a/src/com/android/dialer/calllog/CallLogListItemViews.java +++ b/src/com/android/dialer/calllog/CallLogListItemViews.java @@ -17,6 +17,7 @@ package com.android.dialer.calllog; import android.content.Context; +import android.telecomm.Subscription; import android.view.View; import android.widget.ImageView; import android.widget.QuickContactBadge; @@ -80,6 +81,12 @@ public final class CallLogListItemViews { public int callType; /** + * The subscription for the current call log entry. Cached here as the call back + * intent is set only when the actions ViewStub is inflated. + */ + public Subscription subscription; + + /** * If the call has an associated voicemail message, the URI of the voicemail message for * playback. Cached here as the voicemail intent is only set when the actions ViewStub is * inflated. |