OSDN Git Service

MIDI: Mark IMidiDeviceServer.closeDevice as oneway
authorMikhail Naganov <mnaganov@google.com>
Thu, 20 Apr 2017 16:42:17 +0000 (09:42 -0700)
committerMikhail Naganov <mnaganov@google.com>
Thu, 20 Apr 2017 19:58:42 +0000 (19:58 +0000)
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

media/java/android/media/midi/IMidiDeviceServer.aidl

index fbd3510..f17e19d 100644 (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.