AudioManager: Remove no-longer-relevant error message

Bug: http://b/254647699
Change-Id: I1059ed8594a0a4a2737f6df1909f1f3bf6840d91
This commit is contained in:
Darwin Huang
2022-10-21 13:14:32 +00:00
parent 17da6cad86
commit bb11173147

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();