diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-10-12 13:57:59 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-10-12 15:05:59 -0700 |
commit | d5bb82d18cbd95bb9e751d8315b9ed0b69595033 (patch) | |
tree | 697ff41b80db12758a412c3555677d0d347aa2f0 /graphics/java/android/renderscript/ProgramRaster.java | |
parent | 99b70f3f5d051261229d1792c169a374fc23326b (diff) |
DO NOT MERGE. Improve screenshot chord debouncing.
Bug: 5011907
Introduce a 150ms delay in handling volume down keys
while waiting to see if a power key will follow.
Don't trigger the screenshot chord if both volume up and
volume down are pressed together.
Don't trigger the long-press power menu if volume keys are
also pressed.
Require the user to press both keys in the chord within
the debounce time and continue long-pressing them in order
to trigger the screenshot action.
Change-Id: I248968d37b73c09d6d08e7f62667c443eba32da0
Diffstat (limited to 'graphics/java/android/renderscript/ProgramRaster.java')
0 files changed, 0 insertions, 0 deletions