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

Skip to content
Commit 2057518c authored by Roman Birg's avatar Roman Birg Committed by Gerrit Code Review
Browse files

Fix default network mode reset on sim1



On first boot when we try to set the default data sub network type,
the subscription controller tries to sync what's in the sim table and
what the preferred network mode is in the settings provider.

We read the user's mode for SIM 1 and set the preferred mode to that,
but on first boot it may be unset, setting the preferred mode to -1. We
should fall back to the current network mode if the user mode is unset.

Ref: CYNGNOS-1316

Change-Id: I0c7dec804965a7a4ada0acb34bfb1f511a65eb94
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent 7df85d58
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