Mike Lockwood 2aef7e3559 Fix MidiDevice.MidiConnection lifecycle
Update device server's MidiDeviceStatus when a connection is made to one of its output ports.

After connecting an input port to an output port using MidiDevice.connectPorts(),
do not call IMidiDeviceServer.closePort() until MidiDevice.MidiConnection.close() is called.

While I was in there, added missing CloseGuard support to the MidiDevice.MidiConnection class.

This fixes a problem resulting in UsbMidiDevice closing the device's ALSA driver too soon.

Bug: 21850709

Change-Id: I0c120f76b42eec8a143161e46dba73fbec5e4f31
2015-06-18 12:31:40 -07:00
2014-11-10 17:23:02 -08:00
2015-06-16 13:13:13 -07:00
2015-06-10 13:10:36 -07:00
2013-05-21 12:38:22 -07:00
2015-05-16 01:19:19 +00:00
2015-06-08 17:40:00 -07:00
Description
No description provided
5.1 GiB
Languages
Java 77.3%
Kotlin 9.2%
PowerBuilder 6.6%
C++ 5.5%
AIDL 1%