summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPhil Weaver <pweaver@google.com>2016-09-14 17:04:49 -0700
committerPhil Weaver <pweaver@google.com>2017-01-06 09:38:53 -0800
commit4acc16d1b611074baa9eeb7ec5628350b7eb5fa5 (patch)
tree0fffc136fa7c9e80df440b5a15faf8fb9d9e9c1b /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3eca29e119cf3b1a3c2f214e27478137f97befe8 (diff)
Add flag and listener for a11y volume requests.
We're adding a dedicated volume level for accessibility. Services can use the new flag to request that this volume be activated for accessibility usages. To let AudioManager know when the request state changes, adding a hidden convenience method to check if any active service requests the a11y volume stream. This method can be used to enable the stream and to decide when to show the UI to change its volume. AudioManager wanted a listener for changes to this flag, so rather than add yet another special-purpose listener, I've added one that gets called back whenever there are state changes in a11y services. These changes happen infrequently enough that we shouldn't need more targeted methods. Bug: 30448020 Bug: 27899567 Test: Adding CTS in linked CL. Change-Id: Ifc53314dc7d9a6ee3d50b04ebcc1a87280cafa5e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions