diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2020-05-27 19:31:58 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2020-05-27 19:38:10 -0700 |
commit | b2949c77e34a5558dbd2ca53c5dbb78d95c4288d (patch) | |
tree | 2c2af44f17f4dce70c1d64ab572d1fcdc5f8ad5f /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 20467761276db28cd9786c9341601ef4d9b032a8 (diff) |
AudioService: evaluate permissions for min stream index
Make AudioManager.getStreamMinVolume(stream) return the lowest
index the caller of this API can set or adjust the volume to
based on the caller's permissions.
Bug: 137015603
Bug: 157319908
Test: atest CtsMediaTestCases:android.media.cts.AudioManagerTest#testVolume
Change-Id: Ie306bd652c2b5ab4d789cafbb141ea530fb1e650
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions