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

Commit 141aa95b authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 5582435 from 43b3772b to qt-qpr1-release

Change-Id: I5e5d122e2ef05f1890ad8c2758d0a03ab6d99e00
parents c8ea9d6a 43b3772b
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -2207,8 +2207,6 @@ static int stop_output_stream(struct stream_out *out)
    int i, ret = 0;
    struct audio_usecase *uc_info;
    struct audio_device *adev = out->dev;
    bool has_voip_usecase =
        get_usecase_from_list(adev, USECASE_AUDIO_PLAYBACK_VOIP) != NULL;

    ALOGV("%s: enter: usecase(%d: %s)", __func__,
          out->usecase, use_case_table[out->usecase]);
@@ -2258,7 +2256,7 @@ static int stop_output_stream(struct stream_out *out)
          speaker when voip stops.
       2) trigger voip input to reroute when voip output changes to
          hearing aid. */
    if (has_voip_usecase ||
    if (out->usecase == USECASE_AUDIO_PLAYBACK_VOIP ||
        out->devices & AUDIO_DEVICE_OUT_SPEAKER_SAFE) {
        struct listnode *node;
        struct audio_usecase *usecase;