summaryrefslogtreecommitdiffstats
path: root/src/com/android/dialer/PhoneCallDetails.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/dialer/PhoneCallDetails.java')
-rwxr-xr-xsrc/com/android/dialer/PhoneCallDetails.java31
1 files changed, 30 insertions, 1 deletions
diff --git a/src/com/android/dialer/PhoneCallDetails.java b/src/com/android/dialer/PhoneCallDetails.java
index 2de5f5f32..6bc75a5d7 100755
--- a/src/com/android/dialer/PhoneCallDetails.java
+++ b/src/com/android/dialer/PhoneCallDetails.java
@@ -26,7 +26,7 @@ import android.provider.ContactsContract.CommonDataKinds.Phone;
/**
* The details of a phone call to be shown in the UI.
*/
-public class PhoneCallDetails {
+public class PhoneCallDetails implements CallDetailHeader.Data {
/** The number of the other party involved in the call. */
public final CharSequence number;
/** The number presenting rules set by the network, e.g., {@link Calls#PRESENTATION_ALLOWED} */
@@ -154,4 +154,33 @@ public class PhoneCallDetails {
this.transcription = transcription;
this.durationType = durationType;
}
+
+ @Override
+ public CharSequence getName() {
+ return name;
+ }
+ @Override
+ public CharSequence getNumber() {
+ return number;
+ }
+ @Override
+ public int getNumberPresentation() {
+ return numberPresentation;
+ }
+ @Override
+ public int getNumberType() {
+ return numberType;
+ }
+ @Override
+ public CharSequence getNumberLabel() {
+ return numberLabel;
+ }
+ @Override
+ public CharSequence getFormattedNumber() {
+ return formattedNumber;
+ }
+ @Override
+ public Uri getContactUri() {
+ return contactUri;
+ }
}