Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9743805 authored by Santos Cordon's avatar Santos Cordon Committed by Android (Google) Code Review
Browse files

Merge "Fix up DisconnectCause description."

parents 9716b081 c1ec931f
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -130,8 +130,10 @@ public final class DisconnectCause implements Parcelable {

    /**
     * Returns a short label which explains the reason for the disconnect cause and is for display
     * in the user interface. The {@link ConnectionService } is responsible for providing and
     * localizing this label. If there is no string provided, returns null.
     * in the user interface. If not null, it is expected that the In-Call UI should display this
     * text where it would normally display the call state ("Dialing", "Disconnected") and is
     * therefore expected to be relatively small. The {@link ConnectionService } is responsible for
     * providing and localizing this label. If there is no string provided, returns null.
     *
     * @return The disconnect label.
     */
@@ -141,8 +143,11 @@ public final class DisconnectCause implements Parcelable {

    /**
     * Returns a description which explains the reason for the disconnect cause and is for display
     * in the user interface. The {@link ConnectionService } is responsible for providing and
     * localizing this message. If there is no string provided, returns null.
     * in the user interface. This optional text is generally a longer and more descriptive version
     * of {@link #getLabel}, however it can exist even if {@link #getLabel} is empty. The In-Call UI
     * should display this relatively prominently; the traditional implementation displays this as
     * an alert dialog. The {@link ConnectionService} is responsible for providing and localizing
     * this message. If there is no string provided, returns null.
     *
     * @return The disconnect description.
     */