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

Skip to content
Commit 22140d37 authored by Ling Ma's avatar Ling Ma Committed by Jack Yu
Browse files

Cancel HandoverRetry when it's in wrong network state

Race condition occurs when two same handover retries that are scheduled very close(e.g. modem unthrottles an APN which triggers a retry coincides a retry after handover failure) that both of them passed `!dataNetwork.isConnected()` check at `onDataNetworkHandoverRetry`, and sent two EVENT_START_HANDOVER in DN. One of them successfully starts the handover while the other one is ignored because it's already in handover state, but the ignored retry entry is always set as "not_retried", so in future when we attempt to start another handover, it will be disallowed due to the obsolete retry entry "not_retried".

Bug: 235567654
Test: manual verified
Merged-In: Ief834becf215ab843957f5f9ecf70f28273db0e5
Change-Id: Ief834becf215ab843957f5f9ecf70f28273db0e5
parent 5de75c7d
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