summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2017-06-28 16:22:02 +0200
committerAdrian Roos <roosa@google.com>2017-06-30 18:06:13 +0200
commit6023ccbea1568d8b22db82cac9bf7a03367d0a61 (patch)
treeb547e45e3ae8d2f7614bdeabb5042b7df90f296a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentef5cf2b4d11f841d3f836b9f536b2e7562ee118b (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 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions