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

Commit 02639b86 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "audio: add USAGE_UNKNOWN to mediaActive condition" into main

parents 91ed5874 1bd69280
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;
            }
        }