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

Commit e9b7a8ed authored by Nancy Chen's avatar Nancy Chen
Browse files

Better comments for the CONNECTING state.

More readable for developers.

Bug: 16396523
Change-Id: I8db0949fcd62eb4d76db978a1633fbf6004035a6
parent d18a1da1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -70,7 +70,9 @@ public final class Call {
    public static final int STATE_PRE_DIAL_WAIT = 8;

    /**
     * The state of an outgoing {@code Call}, before Telecomm broadcast intent has returned.
     * The initial state of an outgoing {@code Call}.
     * Common transitions are to {@link #STATE_DIALING} state for a successful call or
     * {@link #STATE_DISCONNECTED} if it failed.
     */
    public static final int STATE_CONNECTING = 9;

+3 −2
Original line number Diff line number Diff line
@@ -32,8 +32,9 @@ public enum CallState {
    NEW,

    /**
     * Indicates an outgoing call has been initiated and is waiting for the broadcast intent to
     * return and provide call details before proceeding.
     * The initial state of an outgoing {@code Call}.
     * Common transitions are to {@link #DIALING} state for a successful call or
     * {@link #DISCONNECTED} if it failed.
     */
    CONNECTING,