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

Commit d5fb11d2 authored by yomna's avatar yomna
Browse files

No longer require default enablement of securityAlgorithmsUpdated()

No longer require default enablement of IRadioNetworkIndication.securityAlgorithmsUpdated()
by removing "default true" requirement to
IRadioNetwork.setSecurityAlgorithmsUpdatedEnabled()

Bug: 312484760
Test: m
Change-Id: Ia18fcb3d350341e03216df4b3c1fa27a85fcacc7
parent c5dfae3a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -694,8 +694,6 @@ oneway interface IRadioNetwork {
     * Enables or disables security algorithm update reports via indication API
     * {@link IRadioNetworkIndication.securityAlgorithmsUpdated()}.
     *
     * Note: The default value shall be enabled.
     *
     * @param serial Serial number of request.
     * @param enable {@code true} to enable security algorithm update reports, {@code false} to
     *         disable.
+0 −3
Original line number Diff line number Diff line
@@ -2567,7 +2567,4 @@ TEST_P(RadioNetworkTest, isSecurityAlgorithmsUpdatedEnabled) {
    ASSERT_TRUE(CheckAnyOfErrors(
            radioRsp_network->rspInfo.error,
            {RadioError::NONE, RadioError::RADIO_NOT_AVAILABLE, RadioError::MODEM_ERR}));

    // the default value should be true if we have not called the setter
    EXPECT_TRUE(radioRsp_network->isSecurityAlgorithmsUpdatedEnabled);
}