mirror of
https://github.com/androidx/media.git
synced 2025-05-05 06:30:24 +08:00
Apply tone mapping workaround to Pixel Watch as well.
Not sure what BUILD.ID the fix will first be applied on though. PiperOrigin-RevId: 485389618
This commit is contained in:
parent
624238c6b6
commit
2ddd645a34
@ -294,7 +294,10 @@ import org.checkerframework.dataflow.qual.Pure;
|
|||||||
|
|
||||||
private static boolean deviceNeedsNoToneMappingWorkaround() {
|
private static boolean deviceNeedsNoToneMappingWorkaround() {
|
||||||
// Pixel build ID prefix does not support tone mapping. See http://b/249297370#comment8.
|
// Pixel build ID prefix does not support tone mapping. See http://b/249297370#comment8.
|
||||||
return Util.MANUFACTURER.equals("Google") && Build.ID.startsWith("TP1A");
|
return Util.MANUFACTURER.equals("Google")
|
||||||
|
&& (
|
||||||
|
/* Pixel 6 */ Build.ID.startsWith("TP1A")
|
||||||
|
|| Build.ID.startsWith(/* Pixel Watch */ "rwd9.220429.053"));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user