summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2020-05-11 08:38:19 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2020-05-20 08:57:50 -0700
commit803c3158b1e3db2d6713571807b954f5dedbcd69 (patch)
tree37ab9836125210c6f71712d27e2a70ec7551fb74 /rs/java/android/renderscript/Program.java
parenta543dfde92e33b0d067943c6d4f0a3149d822bc2 (diff)
AudioService: permission for volume adjustment to lowest values
Define an attenuation threshold under which the MODIFY_AUDIO_SETTINGS permission is required to adjust volume. Verify permission at the interface of audio service, and propagate this information so its used when getting a valid index during a volume adjustment or set. Make the audio service dump display the min index when it differs from the normal min index. Enforcement is only for STREAM_ALARM. Bug: 137015603 Test: use POC app in bug, verify ALARM volume not at 1 with \ adb shell dumpsys audio Change-Id: I7ccb50e314bb0e27ba25346eab9cdd3e4dd1dceb
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions