diff options
| author | 2013-09-10 17:13:28 -0700 | |
|---|---|---|
| committer | 2013-09-10 17:17:08 -0700 | |
| commit | 20e287534396655af0d5912d8b272070ad24a93a (patch) | |
| tree | f005b2a26dae5dffae7f3aec765cd909a42d34eb /libs/hwui/Program.cpp | |
| parent | bd181bb83282571eb793d2e4a48b4d19585de7f2 (diff) | |
WirelessChargerDetector: Work around bad sensor timestamps.
It turns out that on some devices the sensor event timestamp
may be non-monotonic.  This may cause the detector to hold
a wakelock indefinitely if the time jumps backwards.  These
timestamps are not well tested in general so there may be
other artifacts as well.  Use elapsed realtime instead.
Bug: 9926451
Change-Id: Idb0b316e22b23aac86837bd25b953daf49f9b758
Diffstat (limited to 'libs/hwui/Program.cpp')
0 files changed, 0 insertions, 0 deletions