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

Skip to content
Commit 24849861 authored by Malcolm Chen's avatar Malcolm Chen Committed by Xiangyu/Malcolm Chen
Browse files

In CellularNetworkValidator, handle back to back request.

If back to back requests are sent to CellularNetworkValidator,
it will stop the previous validation silently and restart validation
on the latest subscription. To make it work, a per subscription
NetworkCallback will be created for each validation so that when
old validation result comes in, we can compare the validated subId
agains the latest and avoid race condition.

Bug: 122255288
Test: unittest
Change-Id: Ie128e0ab03c4ca3eed55be1a88bda35283abab06
Merged-In: Ie128e0ab03c4ca3eed55be1a88bda35283abab06
parent 62eb37c4
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