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

Commit 1ed8561a authored by Sailesh Nepal's avatar Sailesh Nepal
Browse files

Update setNextPostDialWaitChar API

This CL does the following:
  - make the API public
  - rename it from setNextPostDialWaitChar to setNextPostDialChar
  - remove reference to "wait" from the API documentation

BUG: 19216940, 19216942
Change-Id: Ic4c7f44a900fd79875318d8c565c3aacaa42b962
parent 16bce33a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -30466,6 +30466,7 @@ package android.telecom {
    method public final void setDisconnected(android.telecom.DisconnectCause);
    method public final void setInitialized();
    method public final void setInitializing();
    method public final void setNextPostDialChar(char);
    method public final void setOnHold();
    method public final void setPostDialWait(java.lang.String);
    method public final void setRingbackRequested(boolean);
+2 −5
Original line number Diff line number Diff line
@@ -1001,14 +1001,11 @@ public abstract class Connection implements IConferenceable {
    /**
     * Informs listeners that this {@code Connection} has processed a character in the post-dial
     * started state. This is done when (a) the {@code Connection} is issuing a DTMF sequence;
     * (b) it has encountered a "wait" character; and (c) it wishes to signal Telecom to play
     * the corresponding DTMF tone locally.
     * and (b) it wishes to signal Telecom to play the corresponding DTMF tone locally.
     *
     * @param nextChar The DTMF character that was just processed by the {@code Connection}.
     *
     * @hide
     */
    public final void setNextPostDialWaitChar(char nextChar) {
    public final void setNextPostDialChar(char nextChar) {
        checkImmutable();
        for (Listener l : mListeners) {
            l.onPostDialChar(this, nextChar);