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

Commit 8b8ec328 authored by Wenyu Zhang's avatar Wenyu Zhang Committed by Android (Google) Code Review
Browse files

Merge "Update input route when preset preference has changed" into main

parents 324f0dd7 47655d2d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -4533,6 +4533,9 @@ status_t AudioPolicyManager::setDevicesRoleForCapturePreset(
            "Engine could not set preferred devices %s for audio source %d role %d",
            dumpAudioDeviceTypeAddrVector(devices).c_str(), audioSource, role);

    if (status == NO_ERROR) {
        updateInputRouting();
    }
    return status;
}