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

Commit fc704a21 authored by Jeremy Wu's avatar Jeremy Wu Committed by Android (Google) Code Review
Browse files

Merge "InputRouteManager: only update active type for src" into main

parents 52f6df19 595326f3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -85,6 +85,10 @@ public final class InputRouteManager {
                    @AudioDeviceType int deviceTypeToActivate = mSelectedInputDeviceType;
                    String deviceAddrToActivate = mSelectedInputDeviceAddr;
                    for (AudioDeviceInfo info : addedDevices) {
                        if (!info.isSource()) {
                            continue;
                        }

                        @AudioDeviceType int type = info.getType();
                        String addr = info.getAddress();
                        // Since onAudioDevicesAdded is called not only when new device is hot