summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2017-02-04 16:35:25 -0800
committerJean-Michel Trivi <jmtrivi@google.com>2017-02-04 16:35:25 -0800
commita690473348c6182fa2f0ef1ef1ba75fec7d7d688 (patch)
treeba758ee9a3f481f999ba57a7b5fba297c4a2d922 /tools/aapt2/java/JavaClassGenerator.cpp
parentddb80216b9d536be0f2af287f44a41872aa1d809 (diff)
API for app to know what to set in Activity.setVolumeControlStream()
Stream types are deprecated to describe an audio playback use case. But they are used for volume control. This API helps the developer go from an AudioAttributes instance used for playback, to a stream type used to describe which volume stream type should be used when the user presses on the volume keys. Test: see AudioAttributes cts test Bug 21267880 Change-Id: I2b9da5b282e8ed2342c61c14a7f59b874d0ce979
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions