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

Commit 9ff392af authored by Eric Laurent's avatar Eric Laurent Committed by Automerger Merge Worker
Browse files

Merge "AudioDeviceInventory: fix typo." into udc-dev am: 14338db1

parents df5b191d 14338db1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2210,8 +2210,8 @@ import java.util.concurrent.atomic.AtomicBoolean;
                mDeviceInventory.setPreferredDevicesForStrategyInt(
                        mAccessibilityStrategyId, Arrays.asList(defaultDevice));
            } else {
                mDeviceInventory.removePreferredDevicesForStrategInt(mCommunicationStrategyId);
                mDeviceInventory.removePreferredDevicesForStrategInt(mAccessibilityStrategyId);
                mDeviceInventory.removePreferredDevicesForStrategyInt(mCommunicationStrategyId);
                mDeviceInventory.removePreferredDevicesForStrategyInt(mAccessibilityStrategyId);
            }
            mDeviceInventory.applyConnectedDevicesRoles();
        } else {
+1 −1
Original line number Diff line number Diff line
@@ -823,7 +823,7 @@ public class AudioDeviceInventory {
        return status;
    }
    // Only used for internal requests
    /*package*/ int removePreferredDevicesForStrategInt(int strategy) {
    /*package*/ int removePreferredDevicesForStrategyInt(int strategy) {
        return clearDevicesRoleForStrategy(
                    strategy, AudioSystem.DEVICE_ROLE_PREFERRED, true /*internal */);
    }