Merge "Remove wtf if no display nits mapping exists"

This commit is contained in:
Treehugger Robot
2022-11-01 01:07:57 +00:00
committed by Gerrit Code Review

View File

@@ -458,7 +458,6 @@ public class DisplayDeviceConfig {
*/
public float getNitsFromBacklight(float backlight) {
if (mBacklightToNitsSpline == null) {
Slog.wtf(TAG, "requesting nits when no mapping exists.");
return NITS_INVALID;
}
backlight = Math.max(backlight, mBacklightMinimum);