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

Commit 911ef8fd authored by Andy Hung's avatar Andy Hung Committed by Android (Google) Code Review
Browse files

Merge "AudioPolicyManager: fix offload playback for speaker and BT"

parents a30cc417 5cc71c5f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -121,6 +121,9 @@ public:

    bool deviceSupportsEncodedFormats(audio_devices_t device) const
    {
        if (device == AUDIO_DEVICE_NONE) {
            return true; // required for isOffloadSupported() check
        }
        DeviceVector deviceList =
            mSupportedDevices.getDevicesFromTypeMask(device);
        if (!deviceList.empty()) {