mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-19 06:50:10 +00:00
Call the connectionTerminated() callback instead of trying to handle termination ourselves
This commit is contained in:
@@ -366,8 +366,7 @@ public class NvConnection {
|
|||||||
try {
|
try {
|
||||||
inputStream.sendKeyboardInput(keyMap, keyDirection, modifier);
|
inputStream.sendKeyboardInput(keyMap, keyDirection, modifier);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
listener.displayMessage(e.getMessage());
|
listener.connectionTerminated(e);
|
||||||
NvConnection.this.stop();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user