Fixed incorrect cell identity for geo scope support
The geographical scope support defined by 3GPP TS 23.041
9.4.1.2.1 requires the cell identity including MCC/MNC, LAC/TAC,
and CID from the registered network. The cell identity cell broadcast
service retrieved is not correct.
This fixed several issues in cell broadcast service.
1. Cell broadcast service used the MCC/MNC from the SIM, not from
current registered network.
2. Cell broadcast service uses a ramdom cell info return by telephony
manager's getAllCellInfo, which returns both registered and nearby
cells. We should get cell identity from CS network, PS network,
then nearby cells.
3. Cell broadcast service can only handle GSM cell identity, but not
UMTS/LTE/NR cell identity.
Fix: 157618105
Test: Manual & unit tests
Change-Id: Id9310efc0bda7d5fa158d2be84782ce178c3a299
3 files changed