mirror of
https://github.com/androidx/media.git
synced 2025-05-07 23:50:44 +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 2ddd645a3484aed4b9e519f99f4ab1bc989b6a0e)
This commit is contained in:
parent
61b1cfc05d
commit
e48fe57cc7
@ -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