diff options
author | Michael Lentine <mlentine@google.com> | 2015-09-24 16:58:46 -0700 |
---|---|---|
committer | Thierry Strudel <tstrudel@google.com> | 2015-09-25 00:18:19 +0000 |
commit | 68eafe7f883d9963f0b91506b9e618766c854b49 (patch) | |
tree | 6db22c0f559583917afc7a4107f4ab1598681667 /services | |
parent | 193560002fbc080f0006df088f8f5e9c165bfd78 (diff) | |
download | frameworks_base-68eafe7f883d9963f0b91506b9e618766c854b49.zip frameworks_base-68eafe7f883d9963f0b91506b9e618766c854b49.tar.gz frameworks_base-68eafe7f883d9963f0b91506b9e618766c854b49.tar.bz2 |
Revert "Dismiss color fade when it is no longer used."
Bug: 24371570
This reverts commit 193560002fbc080f0006df088f8f5e9c165bfd78.
Diffstat (limited to 'services')
-rw-r--r-- | services/core/java/com/android/server/display/DisplayPowerController.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/display/DisplayPowerController.java b/services/core/java/com/android/server/display/DisplayPowerController.java index 533f425..452378f 100644 --- a/services/core/java/com/android/server/display/DisplayPowerController.java +++ b/services/core/java/com/android/server/display/DisplayPowerController.java @@ -837,7 +837,6 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call if (mPendingScreenOff && target != Display.STATE_OFF) { setScreenState(Display.STATE_OFF); mPendingScreenOff = false; - mPowerState.dismissColorFade(); } if (target == Display.STATE_ON) { @@ -911,7 +910,6 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call // A black surface is already hiding the contents of the screen. setScreenState(Display.STATE_OFF); mPendingScreenOff = false; - mPowerState.dismissColorFade(); } else if (performScreenOffTransition && mPowerState.prepareColorFade(mContext, mColorFadeFadesConfig ? |