Skip to content

Commit

Permalink
Apply tone mapping workaround to Pixel Watch as well.
Browse files Browse the repository at this point in the history
Not sure what BUILD.ID the fix will first be applied on though.

PiperOrigin-RevId: 485389618
  • Loading branch information
dway123 authored and microkatz committed Nov 8, 2022
1 parent 624238c commit 2ddd645
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,10 @@ private static TransformationRequest createSupportedTransformationRequest(

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

/**
Expand Down

0 comments on commit 2ddd645

Please sign in to comment.