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

Commit 4ae473b7 authored by hongyang.dong's avatar hongyang.dong Committed by android-build-merger
Browse files

Set mHold as true before hold.

am: 4cc64777

Change-Id: Icf8eade21e378de1014864b514e5b3ffc939455d
parents aa34fb11 4cc64777
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1325,10 +1325,10 @@ public class ImsCall implements ICall {
                        ImsReasonInfo.CODE_LOCAL_CALL_TERMINATED);
            }

            mSession.hold(createHoldMediaProfile());
            // FIXME: We should update the state on the callback because that is where
            // we can confirm that the hold request was successful or not.
            mHold = true;
            mSession.hold(createHoldMediaProfile());
            mUpdateRequest = UPDATE_HOLD;
        }
    }