summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Tyler Gunn <tgunn@google.com> 2023-05-02 22:52:26 +0000
committer Tyler Gunn <tgunn@google.com> 2023-05-02 22:52:26 +0000
commite8c5a298d33c11e3b04c939e3c49be3615e77340 (patch)
treedc8fa46352fc0c2ad9c550a8e3be4640dad8f799
parent6fe97e67cf37e64ad58dd11c51000a2a5479379d (diff)
Clarify REMOTE disconnect cause API docs.
Update API docs for REMOTE to make it clear that this disconnect cause is used both for user-initiated disconnection on behalf of the remote party, and for cases where the remote party never answered the call. Test: Docs only change Fixes: 280505750 Change-Id: Id718c75e2b748d2b5d5778f89d3dd7a420845418
-rw-r--r--telecomm/java/android/telecom/DisconnectCause.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/telecomm/java/android/telecom/DisconnectCause.java b/telecomm/java/android/telecom/DisconnectCause.java
index b003f59d5e81..331caa1bad7a 100644
--- a/telecomm/java/android/telecom/DisconnectCause.java
+++ b/telecomm/java/android/telecom/DisconnectCause.java
@@ -43,8 +43,8 @@ public final class DisconnectCause implements Parcelable {
/** Disconnected because of a local user-initiated action, such as hanging up. */
public static final int LOCAL = TelecomProtoEnums.LOCAL; // = 2
/**
- * Disconnected because of a remote user-initiated action, such as the other party hanging up
- * up.
+ * Disconnected because the remote party hung up an ongoing call, or because an outgoing call
+ * was not answered by the remote party.
*/
public static final int REMOTE = TelecomProtoEnums.REMOTE; // = 3
/** Disconnected because it has been canceled. */