commit | b2949c77e34a5558dbd2ca53c5dbb78d95c4288d | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Wed May 27 19:31:58 2020 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Wed May 27 19:38:10 2020 -0700 |
tree | 2c2af44f17f4dce70c1d64ab572d1fcdc5f8ad5f | |
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