Skip to content
Commit b2949c77 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

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
parent 20467761
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment