Night Light: Fix a bug in how the schedule is refreshed.
- There was a bug when the start and end times are inverted (i.e. start time is greater than end time as a time of day today). - The schedule should refresh when device resumes from sleep since time will have changed while the device was suspended. BUG=768902 TEST=Added new tests Change-Id: I105085e36e9a68db97506e69286b471b8a738731 Reviewed-on: https://chromium-review.googlesource.com/821413Reviewed-by:Dan Erat <derat@chromium.org> Reviewed-by:
James Cook <jamescook@chromium.org> Commit-Queue: Ahmed Fakhry <afakhry@chromium.org> Cr-Commit-Position: refs/heads/master@{#523807}
Showing
Please register or sign in to comment