Wake up all MMS requests when wait timeout is expired
It wakes up all MMS requests when wait timeout is expired for
- fixing releasing wrong network request.
- removal unnecessary waiting.
- fast-fail together.
Issue will happen in below circumstance.
1. Start a new MMS network request(A).
- mMmsRequestCount = 1
2. Start another MMS network request(B) before MMS network is available.
- mMmsRequestCount = 2
3. Wait timeout for A is expired first.
- Release the current MMS network request even if B is expecting the
MMS network.
- mMmsRequestCount = 0
4. Start a new MMS network request(C) before timeout for B.
- mMmsRequestCount = 1
5. Wait timeout for B is expired before MMS network is available.
- Release the current MMS network request but it is for C.
- mMmsRequestCount = 0
- C is still waiting for remaining timeout without any active network
request.
Test: Manual
Change-Id: I080711a8904ac15c9b89c7bda03042e8eb80689a
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
1 file changed