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

Commit c00a3c12 authored by Kihong Seong's avatar Kihong Seong
Browse files

Remove unused config for HFP Connection Service

The config "hfp_client_connection_service" is only used in HfpClientConnectionServiceTest, and is blocking the test from running. To increase test coverage, config is removed.

Bug: 237467631
Test: atest HfpClientConnectionServiceTest
Change-Id: I58887c18bc3b7a13747affaff062907796f763d5
parent 28657ddb
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -62,9 +62,6 @@
    <!-- For enabling browsed cover art with the AVRCP Controller Cover Artwork feature -->
    <bool name="avrcp_controller_cover_art_browsed_images">false</bool>

    <!-- For enabling the hfp client connection service -->
    <bool name="hfp_client_connection_service_enabled">false</bool>

    <!-- For supporting emergency call through the hfp client connection service  -->
    <bool name="hfp_client_connection_service_support_emergency_call">false</bool>

+0 −5
Original line number Diff line number Diff line
@@ -89,11 +89,6 @@ public class HfpClientConnectionServiceTest {

        Context targetContext = InstrumentationRegistry.getTargetContext();

        // HfpClientConnectionService is only enabled for some form factors, and the tests should
        // only be run if the service is enabled.
        assumeTrue(targetContext.getResources()
                .getBoolean(R.bool.hfp_client_connection_service_enabled));

        // Setup a mock TelecomManager so our calls don't start a real instance of this service
        doNothing().when(mMockTelecomManager).addNewIncomingCall(any(), any());
        doNothing().when(mMockTelecomManager).addNewUnknownCall(any(), any());