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
Loading
Please register or sign in to comment