summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2013-09-10 17:13:28 -0700
committerJeff Brown <jeffbrown@google.com>2013-09-10 17:17:08 -0700
commit20e287534396655af0d5912d8b272070ad24a93a (patch)
treef005b2a26dae5dffae7f3aec765cd909a42d34eb /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentbd181bb83282571eb793d2e4a48b4d19585de7f2 (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 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions