Commit 69112df5 by huangdarwin Committed by microkatz

HDR: Generalize Pixel 6 workaround to TP

PiperOrigin-RevId: 485366659
(cherry picked from commit 6de5d933)
parent 7bfc6457
...@@ -293,8 +293,8 @@ import org.checkerframework.dataflow.qual.Pure; ...@@ -293,8 +293,8 @@ import org.checkerframework.dataflow.qual.Pure;
} }
private static boolean deviceNeedsNoToneMappingWorkaround() { private static boolean deviceNeedsNoToneMappingWorkaround() {
// Pixel build ID 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 Build.ID.startsWith("TP1A.220905.004"); return Util.MANUFACTURER.equals("Google") && Build.ID.startsWith("TP1A");
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment