diff options
| author | 2023-06-04 12:36:42 -0700 | |
|---|---|---|
| committer | 2023-06-04 12:36:42 -0700 | |
| commit | be657aa975d4b0f6124bf3df7ee297ea931f0ca5 (patch) | |
| tree | 531c2db78c86dabe32e51c0d184b6009f15b7ebd /libs/hwui/HardwareBitmapUploader.cpp | |
| parent | 79d9f58d95f42f409c09d449a301a66cae7479c0 (diff) | |
AudioService: prevent unmute on vol raise when muted by ringer/zen
Handle raising volume from muted when the stream is muted by
the ringer or zend mode, just like unmute commands, and
prevent the unmute.
This fixes an issue where in silent/vibrate mode where
STREAM_NOTIFICATION is muted, pressing the volume up button
while a notification is silently playing, would cause
notifications to become unmuted.
Bug: 284257295
Test: atest CtsMediaAudioTestCases:android.media.audio.cts.AudioManagerTest
Change-Id: I0ebc15c6b4430db0737b8dcbeba9346211ddcf0d
Diffstat (limited to 'libs/hwui/HardwareBitmapUploader.cpp')
0 files changed, 0 insertions, 0 deletions