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

Commit 5c2517f3 authored by Jasmine Cha's avatar Jasmine Cha Committed by George Gao
Browse files

audio hal: fix build break for -Wlogical-op-parentheses



Bug: 140710474
Test: local build pass

Change-Id: I4c3ec35592070c15a060f948844d6a1b96946e88
Signed-off-by: default avatarJasmine Cha <chajasmine@google.com>
(cherry picked from commit 9ee3c3543df0caf7a92d2c709404e65dc9167b16)
Signed-off-by: default avatarAniket Kumar Lata <alata@codeaurora.org>
parent a7a3304e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6136,7 +6136,7 @@ static int out_get_presentation_position(const struct audio_stream_out *stream,
            }
        } else if (out->card_status == CARD_STATUS_OFFLINE ||
            // audioflinger still needs position updates when A2DP is suspended
            is_a2dp_out_device_type(&out->device_list) && audio_extn_a2dp_source_is_suspended()) {
            (is_a2dp_out_device_type(&out->device_list) && audio_extn_a2dp_source_is_suspended())) {
            *frames = out->written;
            clock_gettime(CLOCK_MONOTONIC, timestamp);
            if (is_offload_usecase(out->usecase))