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

Commit 8755e17a authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Enable LeAudioService and VolumeControlService

These services are not fully functional yet, but enabling them ensures
instrumentation tests won't be broken by changes in other systems.

Bug: 150670922
Tag: #feature
Test: compilation
Change-Id: I34fc6cb269b149325148659cf7ea7cdb6cdcd2d1
parent ba35423c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -428,6 +428,7 @@
        <service
            android:process="@string/process"
            android:name = ".le_audio.LeAudioService"
            android:enabled="@bool/profile_supported_le_audio"
            android:exported = "true">
            <intent-filter>
                <action android:name="android.bluetooth.IBluetoothLeAudio" />
+2 −1
Original line number Diff line number Diff line
@@ -32,7 +32,8 @@
    <bool name="profile_supported_pbapclient">false</bool>
    <bool name="profile_supported_mapmce">false</bool>
    <bool name="profile_supported_hid_device">true</bool>
    <bool name="profile_supported_vc">false</bool>
    <bool name="profile_supported_le_audio">true</bool>
    <bool name="profile_supported_vc">true</bool>
    <bool name="profile_supported_mcp_server">true</bool>

    <!-- If true, we will require location to be enabled on the device to
+3 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@ import com.android.bluetooth.hfp.HeadsetService;
import com.android.bluetooth.hfpclient.HeadsetClientService;
import com.android.bluetooth.hid.HidDeviceService;
import com.android.bluetooth.hid.HidHostService;
import com.android.bluetooth.le_audio.LeAudioService;
import com.android.bluetooth.map.BluetoothMapService;
import com.android.bluetooth.mapclient.MapClientService;
import com.android.bluetooth.mcp.McpService;
@@ -106,6 +107,8 @@ public class Config {
                    (1 << BluetoothProfile.OPP)),
            new ProfileConfig(BluetoothPbapService.class, R.bool.profile_supported_pbap,
                    (1 << BluetoothProfile.PBAP)),
            new ProfileConfig(LeAudioService.class, R.bool.profile_supported_le_audio,
                    (1 << BluetoothProfile.LE_AUDIO)),
            new ProfileConfig(VolumeControlService.class, R.bool.profile_supported_vc,
                    (1 << BluetoothProfile.VOLUME_CONTROL)),
            new ProfileConfig(McpService.class, R.bool.profile_supported_mcp_server,