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

Commit c9adb14a authored by Mike Lockwood's avatar Mike Lockwood Committed by Android (Google) Code Review
Browse files

Merge "MidiManager: fix output port close"

parents de11d287 70a81470
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -85,8 +85,9 @@ public class MidiOutputPort extends MidiPort implements MidiSender {
                    }
                    }
                }
                }
            } catch (IOException e) {
            } catch (IOException e) {
                Log.e(TAG, "read failed");
                // report I/O failure
                // report I/O failure
                Log.e(TAG, "read failed");
            } finally {
                IoUtils.closeQuietly(mInputStream);
                IoUtils.closeQuietly(mInputStream);
                onIOException();
                onIOException();
            }
            }