summaryrefslogtreecommitdiffstats
path: root/telecomm
diff options
context:
space:
mode:
Diffstat (limited to 'telecomm')
-rw-r--r--telecomm/java/android/telecomm/CallServiceDescriptor.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/telecomm/java/android/telecomm/CallServiceDescriptor.java b/telecomm/java/android/telecomm/CallServiceDescriptor.java
index 3bec270..dec3791 100644
--- a/telecomm/java/android/telecomm/CallServiceDescriptor.java
+++ b/telecomm/java/android/telecomm/CallServiceDescriptor.java
@@ -22,6 +22,7 @@ import android.os.Parcel;
import android.os.Parcelable;
import android.util.Log;
+import java.util.Locale;
import java.util.UUID;
/**
@@ -123,6 +124,13 @@ public final class CallServiceDescriptor implements Parcelable {
mNetworkType == descriptor.mNetworkType;
}
+ @Override
+ public String toString() {
+ return String.format(Locale.US, "[%s, component: %s]",
+ CallServiceDescriptor.class.getSimpleName(),
+ mComponentName == null ? "null" : mComponentName.flattenToShortString());
+ }
+
/**
* @param context {@link Context} to use for the construction of the {@link Builder}.
* @return A new {@link Builder} instance.