Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e67781db authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "audio: add USAGE_UNKNOWN to mediaActive condition" into main am: 02639b86

parents 98bb2ee4 02639b86
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4408,7 +4408,8 @@ public class AudioService extends IAudioService.Stub
                    || usage == AudioAttributes.USAGE_VOICE_COMMUNICATION_SIGNALLING) {
                voiceActive = true;
            }
            if (usage == AudioAttributes.USAGE_MEDIA || usage == AudioAttributes.USAGE_GAME) {
            if (usage == AudioAttributes.USAGE_MEDIA || usage == AudioAttributes.USAGE_GAME
                    || usage == AudioAttributes.USAGE_UNKNOWN) {
                mediaActive = true;
            }
        }