MIDI: Mark IMidiDeviceServer.closeDevice as oneway

This method is called from MidiService which is part of the system
server and thus should avoid blocking calls.

Bug: 37535382
Change-Id: Id44e159cf997fafbb0f0f69d31b38c10844808b5
Test: make
This commit is contained in:
Mikhail Naganov
2017-04-20 09:42:17 -07:00
parent 85aa374ba3
commit 4f4e259dc1

View File

@@ -24,7 +24,7 @@ interface IMidiDeviceServer
FileDescriptor openInputPort(IBinder token, int portNumber);
FileDescriptor openOutputPort(IBinder token, int portNumber);
void closePort(IBinder token);
void closeDevice();
oneway void closeDevice();
// connects the input port pfd to the specified output port
// Returns the PID of the called process.