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

Commit ac6389fb authored by Vlad Popa's avatar Vlad Popa
Browse files

CSD: enable CSD for BT devices

Now that we can categorize the BT devices in setting, we can reenable
the CSD calculation.

Test: manual
Bug: 287011781
Change-Id: I8c5cffb1af5d241a3cba79a05e4fef92ee674be5
parent d667e38b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -497,8 +497,7 @@ bool SoundDoseManager::shouldComputeCsdForDeviceType(audio_devices_t device) {
    switch (device) {
        case AUDIO_DEVICE_OUT_WIRED_HEADSET:
        case AUDIO_DEVICE_OUT_WIRED_HEADPHONE:
        // TODO(b/278265907): enable A2DP when we can distinguish A2DP headsets
        // case AUDIO_DEVICE_OUT_BLUETOOTH_A2DP:
        case AUDIO_DEVICE_OUT_BLUETOOTH_A2DP:
        case AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES:
        case AUDIO_DEVICE_OUT_USB_HEADSET:
        case AUDIO_DEVICE_OUT_BLE_HEADSET: