Move existing active audio session to inactive before modifying current session to active
When there is already a active session running, and if request received to modify another opened session to active, then current active session is moved to inactive first and then requested opened session is moved to active.
If moving existing active session operation fails, then current modifySession request is rejected with NO_RESOURCES error
Updated UnitTests for changes
Bug: 300873164
Bug: 289749054
Test: Verified VoWifi calls, handovers, swap calls, DSDA calls
atest ImsMediaNativeTests
Change-Id: I589c1094c342a4525522978ce8150aa816c088df
6 files changed