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

Commit 1acde98b authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Return STREAM_ASSISTANT for USAGE_ASSISTANT" into main

parents 9f59f0d6 cc318462
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: