telephony: Broadcast country code information from cellinfo
Description
telephony: Broadcast country code information from cellinfo
Technical details
- Move the fork over from https://gitlab.e.foundation/e/devices/fp6/android_frameworks_opt_telephony/-/commits/a15?ref_type=HEADS && handle unknown mcc broadcasts defaulting to EU.
Tests
-
Pick https://gitlab.e.foundation/e/devices/fp6/android_frameworks_opt_telephony/-/commit/7404f51ce88f573517cfa656297ff6db5e03a2f1 && observe that no restarts are observed after initial switch to US region (left overnight) -
adb logcat -b all | grep -i updateOperatorName-> No longer send "EU" broadcasts when mcc is unknown -
Region stays to USA behavior with multiple SIMs from USA / non-USA ie. MCC 404 - India (USA behavior via code change) && MCC 204 - Netherlands. - This is because the MCC from the celltower is what's considered, not the SIM itself.
Issues
10 commandments of code review
Edited by Rohit Sekhar