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

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

Merge "audio: Fix incorrect userId for setMicMute" into main

parents 5e84fc13 4c4778a6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1161,7 +1161,7 @@ public class AudioManager {
        final IAudioService service = getService();
        try {
            service.setMasterMute(mute, flags, getContext().getOpPackageName(),
                    UserHandle.getCallingUserId(), getContext().getAttributionTag());
                    getContext().getUserId(), getContext().getAttributionTag());
        } catch (RemoteException e) {
            throw e.rethrowFromSystemServer();
        }
@@ -3278,7 +3278,7 @@ public class AudioManager {
        final IAudioService service = getService();
        try {
            service.setMicrophoneMute(on, getContext().getOpPackageName(),
                    UserHandle.getCallingUserId(), getContext().getAttributionTag());
                    getContext().getUserId(), getContext().getAttributionTag());
        } catch (RemoteException e) {
            throw e.rethrowFromSystemServer();
        }