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

Skip to content
Commit 155fd654 authored by Daniel Bright's avatar Daniel Bright
Browse files

Change eq method for connection reuse w\ dun apn

When a new sim card is loaded that was previously used, the same apn
settings are reloaded in the Carriers table with different database
ids.  These new database ids caused an issue when DcTracker looks for
existing data connections to use for the dun apn.  This CL changes
the equality check used in that method to the same one used when
cleaning up active data connections which ignores the db id, ignores
the network type bitmask, and only matches on the the relevant
roaming \ non-roaming protocol.

Bug: 158908392
Test: Unit tests
Test: Added DcTrackerTest#testCheckForCompatibleDataConnectionWithDunWhenIdsChange
Change-Id: Iaf8df512e5db35b4dad613b491b718648ce3da11
parent d9e05bde
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