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

Skip to content
Commit 35b1701c authored by Jack Yu's avatar Jack Yu
Browse files

Fixed race condition when network request removed

When data network enters disconnected state, a
network request might be removed without setting
the state back to unstatisfied. Fixed by removing
the incorrect logic in detachNetworkRequest. Also
rearranged the callback order to make sure all
network requests are detached before calling the
disconnected callback.

Test: atest DataNetworkControllerTest
Fix: 227280207

Change-Id: Ie69d8a49f8909988367565efa5a482481c8dc6b6
parent 1cbd74a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment