summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mikhail Naganov <mnaganov@google.com> 2017-04-20 09:42:17 -0700
committer Mikhail Naganov <mnaganov@google.com> 2017-04-20 19:58:42 +0000
commit4f4e259dc1cc38aecfb0e6ceb7dc4041cf36a41f (patch)
tree794aae9e08639a03b2ff04ae2ed813e42743f4b1
parent85aa374ba30d7ce20c22bacea177354a6ef90121 (diff)
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
-rw-r--r--media/java/android/media/midi/IMidiDeviceServer.aidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/java/android/media/midi/IMidiDeviceServer.aidl b/media/java/android/media/midi/IMidiDeviceServer.aidl
index fbd35100dd6c..f17e19dc2a0a 100644
--- a/media/java/android/media/midi/IMidiDeviceServer.aidl
+++ b/media/java/android/media/midi/IMidiDeviceServer.aidl
@@ -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.