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

Commit d2ad2033 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix the capability list for reduced feature set devices." into sc-dev

parents dbe48e2c 0b805755
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -314,6 +314,7 @@ public class RadioConfigResponse extends IRadioConfigResponse.Stub {
                Rlog.d(TAG, "CAPABILITY_SLICING_CONFIG_SUPPORTED");
                caps.add(CAPABILITY_PHYSICAL_CHANNEL_CONFIG_1_6_SUPPORTED);
                Rlog.d(TAG, "CAPABILITY_PHYSICAL_CHANNEL_CONFIG_1_6_SUPPORTED");
            } else {
                caps.add(CAPABILITY_SIM_PHONEBOOK_IN_MODEM);
                Rlog.d(TAG, "CAPABILITY_SIM_PHONEBOOK_IN_MODEM");
            }
+4 −0
Original line number Diff line number Diff line
@@ -72,6 +72,8 @@ public class RadioConfigResponseTest extends TelephonyTest {
                caps.contains(TelephonyManager.CAPABILITY_THERMAL_MITIGATION_DATA_THROTTLING));
        assertFalse(
                caps.contains(TelephonyManager.CAPABILITY_SLICING_CONFIG_SUPPORTED));
        assertTrue(
                caps.contains(TelephonyManager.CAPABILITY_SIM_PHONEBOOK_IN_MODEM));
    }

    @Test
@@ -88,5 +90,7 @@ public class RadioConfigResponseTest extends TelephonyTest {
                caps.contains(TelephonyManager.CAPABILITY_THERMAL_MITIGATION_DATA_THROTTLING));
        assertTrue(
                caps.contains(TelephonyManager.CAPABILITY_SLICING_CONFIG_SUPPORTED));
        assertFalse(
                caps.contains(TelephonyManager.CAPABILITY_SIM_PHONEBOOK_IN_MODEM));
    }
}