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

Skip to content
Commit 8eff0711 authored by Aishwarya Mallampati's avatar Aishwarya Mallampati
Browse files

Add onCarrierRoamingNtnEligibleStateChanged callback.

Mark a phone object as carrier roaming ntn eligible if:
- Phone supports P2P SMS over satellite
- Device is not connected to Wi-Fi
- Phone is OUT_OF_SERVICE

Moved isCellularAvailable() from SatelliteSOSMessageRecommender to
SatelliteServiceUtils so that it can be used easily by other classes.

Bug: 350396906
Test: atest SatelliteControllerTest, atest DefaultPhontNotifierTest,
atest TelephonyRegistryTest, atest TelephonyCountryDetectorTest, atest
SatelliteServiceUtilsTest
Manual Test: b/353971031
Flag: com.android.internal.telephony.flags.carrier_roaming_nb_iot_ntn

Change-Id: I2b9e8d90147d6751092e63b27131ee00ffbe7b08
parent 70500a17
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