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

Commit 335eff4c authored by John Spurlock's avatar John Spurlock Committed by Android (Google) Code Review
Browse files

Merge "Non-voice-capable device default stream is now NOTIFICATION." into lmp-dev

parents 00abaa74 eb1d88dd
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2898,8 +2898,9 @@ public class AudioService extends IAudioService.Stub {
                            Log.v(TAG, "getActiveStreamType: Forcing STREAM_REMOTE_MUSIC");
                        return STREAM_REMOTE_MUSIC;
                } else {
                    if (DEBUG_VOL) Log.v(TAG, "getActiveStreamType: using STREAM_MUSIC as default");
                    return AudioSystem.STREAM_MUSIC;
                    if (DEBUG_VOL) Log.v(TAG,
                            "getActiveStreamType: using STREAM_NOTIFICATION as default");
                    return AudioSystem.STREAM_NOTIFICATION;
                }
            } else {
                if (DEBUG_VOL) Log.v(TAG, "getActiveStreamType: Returning suggested type "