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

Commit 53cea51d authored by Shaowei Shen's avatar Shaowei Shen
Browse files

Revert "[Output Switcher] Enable volume control for single cast device"

This reverts commit ad724437.

Reason for revert: unreliable signal

Change-Id: I373dd03cfe1c4711d83ae4f3105f561420a5df2e
parent ad724437
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -539,7 +539,8 @@ public class MediaOutputController implements LocalMediaManager.DeviceCallback {
    }

    boolean isVolumeControlEnabled(@NonNull MediaDevice device) {
        return !device.getFeatures().contains(MediaRoute2Info.FEATURE_REMOTE_GROUP_PLAYBACK)
        // TODO(b/202500642): Also enable volume control for remote non-group sessions.
        return !isActiveRemoteDevice(device)
            || mVolumeAdjustmentForRemoteGroupSessions;
    }