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

Skip to content
Commit fae20cc9 authored by Venkat Ram Prakash Kotni's avatar Venkat Ram Prakash Kotni Committed by dianlujitao
Browse files

Support Fetching IMSI MCC and MNC for RuimRecords.

The Following changes are done with this.

- Read IMSI using SIM I/O for CSIM/RUIM.

Use Sim I/O command to read the EF_IMSIM to retrieve the IMSI
from the card, rather than using CommandsInterface.getIMSIForApp.
When both SIM and RUIM app exists, we cannot specify the
application for which we should retrieve the IMSI using the getIMSI
API, since SIM and RUIM have no AID.

- Change to return proper MNC in case of CSIM.

As per spec C.S0065 section 5.2.2 MNC length in case of CSIM
IMSI is 2. So modify the code to return the MNC of proper length.

- Introduce getOperatorNumeric api in RuimRecords

Since the DcTracker uses Generalized API
getOperatorNumeric for both SimRecords and
RuimRecords, Introduces same API in RuimRecords
which indirectly invoke getRuimOperatorNumeric

Change-Id: I905d4a271dfba168f2bc3830b8a50733cbe17f8c
CRs-fixed: 514270,656508
parent 5a83055f
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