diff options
author | Christopher Tate <ctate@google.com> | 2012-05-03 15:41:34 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2012-05-03 15:41:34 -0700 |
commit | b89ce434993cca883818ab38f98c0b29d77e7aa2 (patch) | |
tree | b7bb55333efce054f154f4a85d3d5b0912c0b9d2 /tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestController.java | |
parent | e7d85994cbc78e62cfe6996daffda255103a8fea (diff) |
Add streamlined config-based path for no volume key sounds
This lets us avoid a Binder roundtrip to the system process during
volume changes. Previously volume change would be staged at key-down,
then applied at key up in tandem with playback of the sonic feedback
about volume key presses. The reason for this two-stage handling was
to defer playback of the sound [at the target volume] while the volume
key was being held for repeat.
On some devices volume is always sent as key down/up pairs rather than
down-repeat-up sequences. On these devices it is more efficient to
apply the new volume immediately during down handling, and have the
up handling be a no-op. This CL adds a configuration resource item
selecting this new fast path.
Bug 6433943
Change-Id: Icffa56e958243b841d514e2fe4609ba3a7b20f14
Diffstat (limited to 'tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestController.java')
0 files changed, 0 insertions, 0 deletions