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

Commit 74b31ba4 authored by Marvin Ramin's avatar Marvin Ramin Committed by Android Build Cherrypicker Worker
Browse files

Fix comment typo in HwModule

Bug: n/a
Test: n/a
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9a115c42eb93c4261edfe63489f37a72c89b2f2a)
Merged-In: Iba60bff77a66869eedbc275a68c2a52abaa1caf0
Change-Id: Iba60bff77a66869eedbc275a68c2a52abaa1caf0
parent 6af55182
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -361,7 +361,7 @@ sp<DeviceDescriptor> HwModuleCollection::getDeviceDescriptor(const audio_devices
        DeviceVector moduleDevices = hwModule->getAllDevices();
        DeviceVector moduleDevices = hwModule->getAllDevices();
        auto moduleDevice = moduleDevices.getDevice(deviceType, devAddress, encodedFormat);
        auto moduleDevice = moduleDevices.getDevice(deviceType, devAddress, encodedFormat);


        // Prevent overwritting moduleDevice address if connected device does not have the same
        // Prevent overwriting moduleDevice address if connected device does not have the same
        // address (since getDevice with empty address ignores match on address), use dynamic device
        // address (since getDevice with empty address ignores match on address), use dynamic device
        if (moduleDevice && allowToCreate &&
        if (moduleDevice && allowToCreate &&
                (!moduleDevice->address().empty() &&
                (!moduleDevice->address().empty() &&