Loading services/core/java/com/android/server/power/DisplayPowerController.java +1 −1 Original line number Diff line number Diff line Loading @@ -510,7 +510,7 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call boolean slow; int screenAutoBrightness = mAutomaticBrightnessController != null ? mAutomaticBrightnessController.getAutomaticScreenBrightness() : -1; if (screenAutoBrightness >= 0) { if (screenAutoBrightness >= 0 && mPowerRequest.useAutoBrightness) { // Use current auto-brightness value. target = screenAutoBrightness; slow = mUsingScreenAutoBrightness; Loading Loading
services/core/java/com/android/server/power/DisplayPowerController.java +1 −1 Original line number Diff line number Diff line Loading @@ -510,7 +510,7 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call boolean slow; int screenAutoBrightness = mAutomaticBrightnessController != null ? mAutomaticBrightnessController.getAutomaticScreenBrightness() : -1; if (screenAutoBrightness >= 0) { if (screenAutoBrightness >= 0 && mPowerRequest.useAutoBrightness) { // Use current auto-brightness value. target = screenAutoBrightness; slow = mUsingScreenAutoBrightness; Loading