diff options
author | Adrian Roos <roosa@google.com> | 2017-06-28 16:22:02 +0200 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2017-06-30 18:06:13 +0200 |
commit | 6023ccbea1568d8b22db82cac9bf7a03367d0a61 (patch) | |
tree | b547e45e3ae8d2f7614bdeabb5042b7df90f296a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ef5cf2b4d11f841d3f836b9f536b2e7562ee118b (diff) |
AOD: Add hysteresis to pausing the display
Delays pausing the display by several seconds to avoid
flickering when the prox is only covered transiently.
Also adds cooldown to the proximity sensor, such that when
it toggles too often it gets disabled for a while.
Bug: 62292293
Test: cover prox for less than 10s, observe display stays on. Cover for more, observe display turns off.
Change-Id: Ifa407b84760fc299fbbcfa92d9e942e0093c4b73
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions