Merge "Remove wtf if no display nits mapping exists"
This commit is contained in:
@@ -458,7 +458,6 @@ public class DisplayDeviceConfig {
|
|||||||
*/
|
*/
|
||||||
public float getNitsFromBacklight(float backlight) {
|
public float getNitsFromBacklight(float backlight) {
|
||||||
if (mBacklightToNitsSpline == null) {
|
if (mBacklightToNitsSpline == null) {
|
||||||
Slog.wtf(TAG, "requesting nits when no mapping exists.");
|
|
||||||
return NITS_INVALID;
|
return NITS_INVALID;
|
||||||
}
|
}
|
||||||
backlight = Math.max(backlight, mBacklightMinimum);
|
backlight = Math.max(backlight, mBacklightMinimum);
|
||||||
|
|||||||
Reference in New Issue
Block a user