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

Skip to content
Commit 4a179434 authored by Yashdev Singh's avatar Yashdev Singh
Browse files

Telephony: Fix RUIM app mcc/mnc issue.

if mUiccAppType is RUIM:
    use RuimRecords for mcc/mnc lookup.
else
    Use mIccRecords of mUiccAppType for mcc/mnc.

Above algorithm mandates that mUiccAppType MUST always be
correct for current configuration. This is controlled by
VOICE_RADIO_TECH and mPrecisePhoneType

For the configuration where simcard has only RuimApp and SimApp.
- In home network, VOICE_RADIO_TECH would indicate 1x.
    - This would result in enforcing that phonetype be CDMA.
    - MCC/MNC lookup on GsmCdmaPhone would result in using RuimRecords.
    - *#0000# would show RuimRecords parameters.
- In roaming GSM networks, VOICE_RADIO_TECH would indicate 3GPP RAT value.
    - this would force phone type to change from cdma >> GSM.
    - SimRecords would be used in mcc/mnc lookup.
    - *#0000# would show SimRecords parameters.

For the configuration where simcard has CsimApp, UsimApp and Isimapp.
- In home/roaming network, VOICE_RADIO_TECH would indicate 3GPP-rats/1x/LTE
    - GsmCdmaPhone would use SimRecords irrespective of VOICE_RADIO_TECH value.
    - *#0000# would show SimRecords or RuimRecords parameters based on current
    phoneType and VOICE_RADIO_TECH.

For the configurations where simcard has Csimapp or just RuimApp.
    - RuimRecords would be used in mcc/mnc lookup.
    - *#0000# woud show RuimRecords parameters.

Change-Id: Id2ac103c1d6fc6a3dbe6849f73ce92f84b5305ad
parent a5c40452
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