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

Commit 318c1336 authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "audio policy: fix mmap behavior on device disconnection" into main

parents 1e1d454e a491c7c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ sp<DeviceDescriptor> findPreferredDevice(
        // a preferred device in which case the first client drives the selection.
        if (desc->isMmap()) {
            auto matchingClients = desc->clientsList(
                    false /*activeOnly*/, filter, true /*preferredDevice*/);
                    false /*activeOnly*/, filter, false /*preferredDevice*/);
            if (matchingClients.empty()) {
                return nullptr;
            }