Loading services/core/java/com/android/server/display/DisplayPowerController.java +4 −0 Original line number Diff line number Diff line Loading @@ -1181,6 +1181,10 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call } private static Spline createAutoBrightnessSpline(int[] lux, int[] brightness) { if (lux == null || lux.length == 0 || brightness == null || brightness.length == 0) { Slog.e(TAG, "Could not create auto-brightness spline."); return null; } try { final int n = brightness.length; float[] x = new float[n]; Loading Loading
services/core/java/com/android/server/display/DisplayPowerController.java +4 −0 Original line number Diff line number Diff line Loading @@ -1181,6 +1181,10 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call } private static Spline createAutoBrightnessSpline(int[] lux, int[] brightness) { if (lux == null || lux.length == 0 || brightness == null || brightness.length == 0) { Slog.e(TAG, "Could not create auto-brightness spline."); return null; } try { final int n = brightness.length; float[] x = new float[n]; Loading