commit | 4346f63dbfb23379d967c793dd0851d408f48a2e | [log] [tgz] |
---|---|---|
author | Justin Klaassen <justinklaassen@google.com> | Mon Aug 08 15:01:47 2016 -0700 |
committer | Justin Klaassen <justinklaassen@google.com> | Wed Aug 10 18:22:42 2016 -0700 |
tree | 179b53a951c150d711f57b6a39dccd29819e48e6 | |
parent | 262f0186bd41af30f31fc3074f552f9dd95ff8a9 [diff] |
Make NightDisplayService robust to early alarms Bug: 30743700 Use the same time for calculating the next activated state and scheduling the next alarm. This prevents the alarm from being scheduled incorrectly if the activated state is updated slightly before the scheduled start or end time. Change-Id: I690aebddd28547a25b507c227c4527ffdd7c6a02