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

Commit f32c639d authored by Yue Li's avatar Yue Li Committed by Android (Google) Code Review
Browse files

Merge "Make sendVolumeUpdate method and VolumeAlias visible to ArcAudioService"

parents 0ecc0ff5 949865b8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -352,7 +352,7 @@ public class AudioService extends IAudioService.Stub
        AudioSystem.STREAM_MUSIC,           // STREAM_TTS
        AudioSystem.STREAM_MUSIC            // STREAM_ACCESSIBILITY
    };
    private int[] mStreamVolumeAlias;
    protected static int[] mStreamVolumeAlias;

    /**
     * Map AudioSystem.STREAM_* constants to app ops.  This should be used
@@ -1817,7 +1817,7 @@ public class AudioService extends IAudioService.Stub
    }

    // UI update and Broadcast Intent
    private void sendVolumeUpdate(int streamType, int oldIndex, int index, int flags) {
    protected void sendVolumeUpdate(int streamType, int oldIndex, int index, int flags) {
        streamType = mStreamVolumeAlias[streamType];

        if (streamType == AudioSystem.STREAM_MUSIC) {