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

Commit 8116ff3d authored by Junyeong Bak's avatar Junyeong Bak Committed by Hall Liu
Browse files

Though the action for answering to incoming call is failed, other actions can be handled.



Some actions - like answer, deflect and reject - can't be handled when the first action for answering incoming call is failed for now.
The reason why is internal call state is maintained as "ANSWERED".
There have been prevention for duplicated answer request but not for other actions.

Test: Action fail - Answering for incoming call
Test: Action fail - Answering in waiting call (When first call is not hold)
Test: Action fail - Answering for incoming call because of network issue (temporary)

Bug: 146366908
Change-Id: I041348cc34dc59c7f9bc9504143f8a7fa9077cd5
Signed-off-by: default avatarJunyeong Bak <junyeong.bak@samsung.com>
parent be7f288c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2921,7 +2921,7 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable,
     * @return True if the call is ringing, else logs the action name.
     * @return True if the call is ringing, else logs the action name.
     */
     */
    private boolean isRinging(String actionName) {
    private boolean isRinging(String actionName) {
        if (mState == CallState.RINGING) {
        if (mState == CallState.RINGING || mState == CallState.ANSWERED) {
            return true;
            return true;
        }
        }