| commit | bc4d2fbdf9c2fa1391f49cde74864bbf461b4b9f | [log] [tgz] |
|---|---|---|
| author | Ahmed Fakhry <afakhry@google.com> | Thu Feb 13 00:27:49 2020 |
| committer | Commit Bot <commit-bot@chromium.org> | Thu Feb 13 00:27:49 2020 |
| tree | 8ef4109aacff66ffa2f9f5b118249f2a274629cc | |
| parent | 95c0119dd0e124effe57f4449cb8dea0a998dbe8 [diff] |
[Merge to M-81] Night Light: Fix a blue flash when switching users Switching users can lead to a display reconfiguration. We used reapply the current color temperature immediately on display config changes with disregard to the possibility of an on-going animation towards the same temperature. As a result the target value was incorrectly set in the middle of the animation, then the animation continues towards that target value, resulting in a blue flash. This CL fixes this issue. TBR=jamescook@chromium.org BUG=999395 TEST=Manually, switch users (one with NL on, and the other off) and see no blue flashes. (cherry picked from commit 6416c3bc44d34f94c483ddd17f4d685c6bd2cb66) Change-Id: Ib41dadcd3e45defbc5b09f32d1a8c0c2aa49e5dd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2051525 Reviewed-by: James Cook <jamescook@chromium.org> Commit-Queue: Ahmed Fakhry <afakhry@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#740748} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2052572 Reviewed-by: Ahmed Fakhry <afakhry@chromium.org> Cr-Commit-Position: refs/branch-heads/4044@{#239} Cr-Branched-From: a6d9daf149a473ceea37f629c41d4527bf2055bd-refs/heads/master@{#737173}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .