AudioDeviceInventory: fix typo.
commit ace96019 contained a typo a method name:
AudioDeviceInventory.removePreferredDevicesForStrategyInt
Bug: 284468571
Test: make
Change-Id: Ia601f6f23dbc380c5af845472724d81686f0f4a8
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 */);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user