summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/AbstractInputMethodService.java
diff options
context:
space:
mode:
authorMiranda Kephart <mkephart@google.com>2021-11-19 15:47:16 -0500
committerMiranda Kephart <mkephart@google.com>2022-01-31 15:00:14 -0500
commitb779b11f9757815f97a8ff77f961ca0d3475b777 (patch)
tree34d7ed3d0712b8b425494a4b1663458a13b15425 /core/java/android/inputmethodservice/AbstractInputMethodService.java
parent5e7291098e3b051c020e0fefdafa9aecfd7bae5f (diff)
Make screenshot sound respect system mute
In some regions (e.g. Japan) we force the camera to make a sound regardless of the user settings. The screenshot used the same sound so inherited this behavior. This change forks the sound used for screenshots, so that it respects the system volume instead of being forced audible. Bug: 200767953 Fix: 200767953 Test: manual (made AudioService.readCameraSoundForced return true, then test before and after change to verify behavior fixed) Change-Id: I3c9cf2826b5c3f86e47b570f75189405845a7186
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions