mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
HDR: Generalize Pixel 6 workaround to TP
PiperOrigin-RevId: 485366659
This commit is contained in:
parent
136b8c57d9
commit
a65ff85a98
@ -293,8 +293,8 @@ import org.checkerframework.dataflow.qual.Pure;
|
||||
}
|
||||
|
||||
private static boolean deviceNeedsNoToneMappingWorkaround() {
|
||||
// Pixel build ID does not support tone mapping. See http://b/249297370#comment8.
|
||||
return Build.ID.startsWith("TP1A.220905.004");
|
||||
// Pixel build ID prefix does not support tone mapping. See http://b/249297370#comment8.
|
||||
return Util.MANUFACTURER.equals("Google") && Build.ID.startsWith("TP1A");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user