summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2013-01-09 18:46:37 -0800
committerJeff Brown <jeffbrown@google.com>2013-01-10 10:01:56 -0800
commit3b971598ed28d45c176e3f9b076fc743a406296d (patch)
treebf1911234e5906757f80496b754a27a6e08eb748 /graphics/java/android/renderscript/RenderScript.java
parent93a4ab2fa2efd8908c30298796af710c1ec0f85f (diff)
Improve heuristics for detecting wireless chargers.
On some devices, we need to apply heuristics to determine whether the device is docked on a wireless charger because the charging circuits do not provide sufficient information to know whether the device is on the charger unless it is actually receiving power. The previous heuristics only considered the battery level to suppress spurious dock signals. The new heuristics also take into account whether the device appears to have moved from its previous position on the dock. Bug: 7744185 Change-Id: I5ba885dac25b37840b6db46b8a0f30968a06776c
Diffstat (limited to 'graphics/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions