Loading services/core/java/com/android/server/display/DisplayPowerController.java +6 −0 Original line number Diff line number Diff line Loading @@ -673,6 +673,9 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call slowChange = false; } mAppliedDimming = true; } else if (mAppliedDimming) { slowChange = false; mAppliedDimming = false; } // If low power mode is enabled, cut the brightness level by half Loading @@ -685,6 +688,9 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call slowChange = false; } mAppliedLowPower = true; } else if (mAppliedLowPower) { slowChange = false; mAppliedLowPower = false; } // Animate the screen brightness when the screen is on or dozing. Loading Loading
services/core/java/com/android/server/display/DisplayPowerController.java +6 −0 Original line number Diff line number Diff line Loading @@ -673,6 +673,9 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call slowChange = false; } mAppliedDimming = true; } else if (mAppliedDimming) { slowChange = false; mAppliedDimming = false; } // If low power mode is enabled, cut the brightness level by half Loading @@ -685,6 +688,9 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call slowChange = false; } mAppliedLowPower = true; } else if (mAppliedLowPower) { slowChange = false; mAppliedLowPower = false; } // Animate the screen brightness when the screen is on or dozing. Loading