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

Commit 5387988f authored by RoboErik's avatar RoboErik Committed by Android (Google) Code Review
Browse files

Merge "Make isStreamMute correctly handle master volume devices"

parents f5a7df15 4fa359e8
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1191,7 +1191,11 @@ public class AudioManager {
    public boolean isStreamMute(int streamType) {
        IAudioService service = getService();
        try {
            if (mUseMasterVolume) {
                return service.isMasterMute();
            } else {
                return service.isStreamMute(streamType);
            }
        } catch (RemoteException e) {
            Log.e(TAG, "Dead object in isStreamMute", e);
            return false;