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

Commit cc318462 authored by Vlad Popa's avatar Vlad Popa
Browse files

Return STREAM_ASSISTANT for USAGE_ASSISTANT

Test: trivial
Bug: 440320830
Flag: EXEMPT BUGFIX
Change-Id: If77af03f6087c0f16abb0eee61f2450c50f98a51
parent 4facf500
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1876,8 +1876,9 @@ public final class AudioAttributes implements Parcelable {
            case USAGE_MEDIA:
            case USAGE_GAME:
            case USAGE_ASSISTANCE_NAVIGATION_GUIDANCE:
            case USAGE_ASSISTANT:
                return AudioSystem.STREAM_MUSIC;
            case USAGE_ASSISTANT:
                return AudioSystem.STREAM_ASSISTANT;
            case USAGE_ASSISTANCE_SONIFICATION:
                return AudioSystem.STREAM_SYSTEM;
            case USAGE_VOICE_COMMUNICATION: