Skip to content

Commit 9b81c2d

Browse files
dway123microkatz
authored andcommitted
HDR: Generalize Pixel 6 workaround to TP
PiperOrigin-RevId: 485366659 (cherry picked from commit a65ff85)
1 parent ecb9d59 commit 9b81c2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/transformer/src/main/java/androidx/media3/transformer/VideoTranscodingSamplePipeline.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ private static TransformationRequest createSupportedTransformationRequest(
293293
}
294294

295295
private static boolean deviceNeedsNoToneMappingWorkaround() {
296-
// Pixel build ID does not support tone mapping. See http://b/249297370#comment8.
297-
return Build.ID.startsWith("TP1A.220905.004");
296+
// Pixel build ID prefix does not support tone mapping. See http://b/249297370#comment8.
297+
return Util.MANUFACTURER.equals("Google") && Build.ID.startsWith("TP1A");
298298
}
299299

300300
/**

0 commit comments

Comments
 (0)