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

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

Merge "Use music as a11y volume aliased volume on the single volume device"

parents 4c345158 db55def2
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -10836,6 +10836,10 @@ public class AudioService extends IAudioService.Stub
    private void updateA11yVolumeAlias(boolean a11VolEnabled) {
    private void updateA11yVolumeAlias(boolean a11VolEnabled) {
        if (DEBUG_VOL) Log.d(TAG, "Accessibility volume enabled = " + a11VolEnabled);
        if (DEBUG_VOL) Log.d(TAG, "Accessibility volume enabled = " + a11VolEnabled);
        if (mIsSingleVolume) {
            if (DEBUG_VOL) Log.d(TAG, "Accessibility volume is not set on single volume device");
            return;
        }
        if (sIndependentA11yVolume != a11VolEnabled) {
        if (sIndependentA11yVolume != a11VolEnabled) {
            sIndependentA11yVolume = a11VolEnabled;
            sIndependentA11yVolume = a11VolEnabled;
            // update the volume mapping scheme
            // update the volume mapping scheme