mirror of
https://github.com/androidx/media.git
synced 2025-05-04 22:20:47 +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 (cherry picked from commit 91b286c4f813cdecf3999319c3b2c73fbee3c00a)
This commit is contained in:
parent
f5afec955a
commit
a66dfa87a4
@ -294,7 +294,10 @@ import org.checkerframework.dataflow.qual.Pure;
|
||||
|
||||
private static boolean deviceNeedsNoToneMappingWorkaround() {
|
||||
// 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