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

Skip to content
Commit 8ad9463f authored by Chaitanya Saggurthi's avatar Chaitanya Saggurthi Committed by Linux Build Service Account
Browse files

Set preferred network mode based on phoneID

Currently, on initialization we send a default network mode
 and later when subscriptions are discovered we send the sub
 based network mode. With this change we will send the network mode
 associated with the slot in the previous boot which will end up
 being the same as after the subscription is discovered
 (assuming the card has not changed).  With this we don't end up
 sending different network modes one after the other unnecessarily.
 We do this even when a card is removed and a new card is inserted
 into the same slot.
 The getNetworkTypeFromRaf utility has no way to differentiate
 between MODE_GSM_UMTS and MODE_WCDMA_PREF since they have the
 same raf. So check for it explicitly

Change-Id: Ibbc9453d4146a3d10ba081e4b313e93996e177aa
parent e1cf3fa6
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