Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f4e259d authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

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
parent 85aa374b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.