diff options
| -rw-r--r-- | services/core/java/com/android/server/audio/AudioService.java | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/services/core/java/com/android/server/audio/AudioService.java b/services/core/java/com/android/server/audio/AudioService.java index 61cec77ab2da..6323160acce5 100644 --- a/services/core/java/com/android/server/audio/AudioService.java +++ b/services/core/java/com/android/server/audio/AudioService.java @@ -3823,14 +3823,12 @@ public class AudioService extends IAudioService.Stub case AudioSystem.MODE_IN_COMMUNICATION: case AudioSystem.MODE_IN_CALL: case AudioSystem.MODE_NORMAL: + case AudioSystem.MODE_CALL_SCREENING: + case AudioSystem.MODE_CALL_REDIRECT: + case AudioSystem.MODE_COMMUNICATION_REDIRECT: break; - case AudioSystem.MODE_RINGTONE: - // not changing anything for ringtone - return; - case AudioSystem.MODE_CURRENT: - case AudioSystem.MODE_INVALID: default: - // don't know what to do in this case, better bail + // no-op is enough for all other values return; } @@ -3858,14 +3856,12 @@ public class AudioService extends IAudioService.Stub case AudioSystem.MODE_IN_COMMUNICATION: case AudioSystem.MODE_IN_CALL: case AudioSystem.MODE_NORMAL: + case AudioSystem.MODE_CALL_SCREENING: + case AudioSystem.MODE_CALL_REDIRECT: + case AudioSystem.MODE_COMMUNICATION_REDIRECT: break; - case AudioSystem.MODE_RINGTONE: - // not changing anything for ringtone - return; - case AudioSystem.MODE_CURRENT: - case AudioSystem.MODE_INVALID: default: - // don't know what to do in this case, better bail + // no-op is enough for all other values return; } |