Loading services/core/java/com/android/server/audio/AudioService.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -4111,8 +4111,9 @@ public class AudioService extends IAudioService.Stub { Iterator i = set.iterator(); Iterator i = set.iterator(); while (i.hasNext()) { while (i.hasNext()) { Map.Entry device = (Map.Entry)i.next(); Map.Entry device = (Map.Entry)i.next(); DeviceListSpec spec = (DeviceListSpec)device.getValue(); AudioSystem.setDeviceConnectionState( AudioSystem.setDeviceConnectionState( ((Integer)device.getKey()).intValue(), spec.mDeviceType, AudioSystem.DEVICE_STATE_AVAILABLE, AudioSystem.DEVICE_STATE_AVAILABLE, (String)device.getValue(), (String)device.getValue(), "unknown-device"); "unknown-device"); Loading Loading
services/core/java/com/android/server/audio/AudioService.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -4111,8 +4111,9 @@ public class AudioService extends IAudioService.Stub { Iterator i = set.iterator(); Iterator i = set.iterator(); while (i.hasNext()) { while (i.hasNext()) { Map.Entry device = (Map.Entry)i.next(); Map.Entry device = (Map.Entry)i.next(); DeviceListSpec spec = (DeviceListSpec)device.getValue(); AudioSystem.setDeviceConnectionState( AudioSystem.setDeviceConnectionState( ((Integer)device.getKey()).intValue(), spec.mDeviceType, AudioSystem.DEVICE_STATE_AVAILABLE, AudioSystem.DEVICE_STATE_AVAILABLE, (String)device.getValue(), (String)device.getValue(), "unknown-device"); "unknown-device"); Loading