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

Commit a5078a87 authored by Aishwarya Mallampati's avatar Aishwarya Mallampati Committed by Android (Google) Code Review
Browse files

Merge "Add NB_IOT_NTN" into main

parents aac095e9 98f1e441
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1689,6 +1689,9 @@ public class RILUtils {
        if ((networkTypeBitmask & TelephonyManager.NETWORK_TYPE_BITMASK_NR) != 0) {
            raf |= android.hardware.radio.RadioAccessFamily.NR;
        }
        if ((networkTypeBitmask & TelephonyManager.NETWORK_TYPE_BITMASK_NB_IOT_NTN) != 0) {
            raf |= android.hardware.radio.RadioAccessFamily.NB_IOT_NTN;
        }
        return (raf == 0) ? android.hardware.radio.RadioAccessFamily.UNKNOWN : raf;
    }

+1 −0
Original line number Diff line number Diff line
@@ -173,6 +173,7 @@ public class ServiceStateTest extends TestCase {
        rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_TD_SCDMA, false));
        rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_IWLAN, false));
        rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_NR, false));
        rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_NB_IOT_NTN, false));

        for (Pair<Integer, Boolean> rat : rats) {
            boolean isCdma = rat.second;