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

Commit bac716d6 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix direct mode query failure."

parents ee078ede c6132d68
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3797,7 +3797,7 @@ audio_direct_mode_t AudioPolicyManager::getDirectPlaybackSupport(const audio_att
            }
            if ((curProfile->getFlags() & AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD)
                        != AUDIO_OUTPUT_FLAG_NONE) {
                if ((directMode | AUDIO_DIRECT_OFFLOAD_GAPLESS_SUPPORTED)
                if ((directMode & AUDIO_DIRECT_OFFLOAD_GAPLESS_SUPPORTED)
                        != AUDIO_DIRECT_NOT_SUPPORTED) {
                    // Already reports offload gapless supported. No need to report offload support.
                    continue;