commit | bb4e3baf6616da062c9a23694f13429eea39666d | [log] [tgz] |
---|---|---|
author | Alec Mouri <alecmouri@google.com> | Fri Feb 22 13:55:34 2019 -0800 |
committer | Alec Mouri <alecmouri@google.com> | Thu Mar 07 15:16:10 2019 -0800 |
tree | f022217849e1bf9338e02acac49f59e362c73b74 | |
parent | 066bd7e0e68e79bbca5d0b350ff08b8ae99aa7c9 [diff] |
Fix up reference times for period changes. * When the model is reset, use the last seen reference time instead of 0, since the reference time of 0 is guaranteed to yield inaccurate pulses. * When the DispSync model is updated, reduce the reference time by a period to derisk spurious events firing when the model is updated. Bug: 124383894 Test: systrace Change-Id: Idb7fd5a9bacdd78133ab6451b5a79789a32e339e