summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŁukasz Rymanowski <rlukasz@google.com>2024-03-20 15:57:09 +0000
committerŁukasz Rymanowski <rlukasz@google.com>2024-03-22 14:46:10 +0000
commitdd54b7e05639c2aafb5ad9d3c5fa888846c980d0 (patch)
tree434172a20c87fcede74ef05bdc09286a8f725d91
parent11bb56ec5cbdcfd59f24179f536213040ea7f63b (diff)
downloadbase-dd54b7e05639c2aafb5ad9d3c5fa888846c980d0.tar.gz
AudioService: Fix volume control during ringtone
With this patch RINGTONE volume is applied to the LE Audio headset Bug: 319384989 Test: Modify ringtone volume during incoming call Change-Id: I48caa71a0735302135368cfb32dce30c1823f306
-rw-r--r--services/core/java/com/android/server/audio/AudioService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/audio/AudioService.java b/services/core/java/com/android/server/audio/AudioService.java
index 5a078dbfa7b8..0bfbee694366 100644
--- a/services/core/java/com/android/server/audio/AudioService.java
+++ b/services/core/java/com/android/server/audio/AudioService.java
@@ -4595,6 +4595,7 @@ public class AudioService extends IAudioService.Stub
case AudioSystem.MODE_CALL_SCREENING:
case AudioSystem.MODE_CALL_REDIRECT:
case AudioSystem.MODE_COMMUNICATION_REDIRECT:
+ case AudioSystem.MODE_RINGTONE:
break;
default:
// no-op is enough for all other values