Expand encoding operating rate workaround

PiperOrigin-RevId: 604602441
This commit is contained in:
andrewlewis 2024-02-06 04:13:20 -08:00 committed by Copybara-Service
parent 718cf1299b
commit e683b9a506

View File

@ -533,10 +533,13 @@ public final class DefaultEncoderFactory implements Codec.EncoderFactory {
// On these chipsets, setting an operating rate close to Integer.MAX_VALUE will cause the // On these chipsets, setting an operating rate close to Integer.MAX_VALUE will cause the
// encoder to throw at configuration time. Setting the operating rate to 1000 avoids being close // encoder to throw at configuration time. Setting the operating rate to 1000 avoids being close
// to an integer overflow limit while being higher than a maximum feasible operating rate. See // to an integer overflow limit while being higher than a maximum feasible operating rate. See
// [internal b/311206113, b/317297946]. // [internal b/311206113, b/317297946, b/312299527].
return Util.SDK_INT >= 31 return Util.SDK_INT >= 31
&& Util.SDK_INT <= 34 && Util.SDK_INT <= 34
&& (Build.SOC_MODEL.equals("SM8550") || Build.SOC_MODEL.equals("T612")); && (Build.SOC_MODEL.equals("SM8550")
|| Build.SOC_MODEL.equals("T612")
|| Build.SOC_MODEL.equals("SM7450")
|| Build.SOC_MODEL.equals("SM6450"));
} }
/** /**