Loading src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java +3 −0 Original line number Diff line number Diff line Loading @@ -1675,6 +1675,8 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall { ImsCall callToHold = mForegroundCall.getImsCall(); HoldSwapState oldHoldState = mHoldSwitchingState; mHoldSwitchingState = HoldSwapState.HOLDING_TO_ANSWER_INCOMING; ImsCall callExpectedToResume = mCallExpectedToResume; mCallExpectedToResume = mRingingCall.getImsCall(); mForegroundCall.switchWith(mBackgroundCall); logHoldSwapState("holdActiveCallForWaitingCall"); try { Loading @@ -1684,6 +1686,7 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall { } catch (ImsException e) { mForegroundCall.switchWith(mBackgroundCall); mHoldSwitchingState = oldHoldState; mCallExpectedToResume = callExpectedToResume; logHoldSwapState("holdActiveCallForWaitingCall - fail"); throw new CallStateException(e.getMessage()); } Loading Loading
src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java +3 −0 Original line number Diff line number Diff line Loading @@ -1675,6 +1675,8 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall { ImsCall callToHold = mForegroundCall.getImsCall(); HoldSwapState oldHoldState = mHoldSwitchingState; mHoldSwitchingState = HoldSwapState.HOLDING_TO_ANSWER_INCOMING; ImsCall callExpectedToResume = mCallExpectedToResume; mCallExpectedToResume = mRingingCall.getImsCall(); mForegroundCall.switchWith(mBackgroundCall); logHoldSwapState("holdActiveCallForWaitingCall"); try { Loading @@ -1684,6 +1686,7 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall { } catch (ImsException e) { mForegroundCall.switchWith(mBackgroundCall); mHoldSwitchingState = oldHoldState; mCallExpectedToResume = callExpectedToResume; logHoldSwapState("holdActiveCallForWaitingCall - fail"); throw new CallStateException(e.getMessage()); } Loading