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:
huangdarwin 2022-11-01 19:36:40 +00:00 committed by microkatz
parent 624238c6b6
commit 2ddd645a34

View File

@ -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"));
}
/**