summaryrefslogtreecommitdiffstats
path: root/telecomm/java/android/telecom/DisconnectCause.java
diff options
context:
space:
mode:
authorSantos Cordon <santoscordon@google.com>2014-10-28 13:10:36 -0700
committerSantos Cordon <santoscordon@google.com>2014-10-29 14:13:00 -0700
commitd9e614fd56677bc39481fce115731d55ab72171a (patch)
tree28c143918e4fcdc9814b4eee0389d7be91fc8697 /telecomm/java/android/telecom/DisconnectCause.java
parent579a7f99408a5d310ab8eb2e1b6bc938e1a74c4a (diff)
downloadframeworks_base-d9e614fd56677bc39481fce115731d55ab72171a.zip
frameworks_base-d9e614fd56677bc39481fce115731d55ab72171a.tar.gz
frameworks_base-d9e614fd56677bc39481fce115731d55ab72171a.tar.bz2
More updates to javadocs for Telecom APIs.
Change-Id: I8f8389f521c0d654c9bfdc3ad9670be0d118f480
Diffstat (limited to 'telecomm/java/android/telecom/DisconnectCause.java')
-rw-r--r--telecomm/java/android/telecom/DisconnectCause.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/telecomm/java/android/telecom/DisconnectCause.java b/telecomm/java/android/telecom/DisconnectCause.java
index 9be0138..206046d 100644
--- a/telecomm/java/android/telecom/DisconnectCause.java
+++ b/telecomm/java/android/telecom/DisconnectCause.java
@@ -25,9 +25,10 @@ import java.util.Objects;
/**
* Describes the cause of a disconnected call. This always includes a code describing the generic
- * cause of the disconnect. Optionally, it may include a localized label and/or localized description
- * to display to the user which is provided by the {@link ConnectionService}. It also may contain a
- * reason for the the disconnect, which is intended for logging and not for display to the user.
+ * cause of the disconnect. Optionally, it may include a label and/or description to display to the
+ * user. It is the responsibility of the {@link ConnectionService} to provide localized versions of
+ * the label and description. It also may contain a reason for the disconnect, which is intended for
+ * logging and not for display to the user.
*/
public final class DisconnectCause implements Parcelable {
@@ -85,6 +86,7 @@ public final class DisconnectCause implements Parcelable {
/**
* Creates a new DisconnectCause.
+ *
* @param label The localized label to show to the user to explain the disconnect.
* @param code The code for the disconnect cause.
* @param description The localized description to show to the user to explain the disconnect.