Merge "AudioManager: Remove no-longer-relevant error message"

This commit is contained in:
Darwin Huang
2022-10-21 17:21:53 +00:00
committed by Gerrit Code Review

View File

@@ -6600,8 +6600,8 @@ public class AudioManager {
}
}
if (k == ports.size()) {
// this hould never happen
Log.e(TAG, "updatePortConfig port not found for handle: "+port.handle().id());
// This can happen in case of stale audio patch referring to a removed device and is
// handled by the caller.
return null;
}
AudioGainConfig gainCfg = portCfg.gain();