Merge pull request #3838 from akallabeth/afreerdp_disconnect_fix

Fixed disconnect handling.
This commit is contained in:
Norbert Federa 2017-03-03 14:18:20 +01:00 committed by GitHub
commit e3586785a3

View File

@ -167,13 +167,11 @@ public class GlobalApp extends Application implements LibFreeRDP.EventListener {
public void OnDisconnecting(long instance) {
Log.v(TAG, "OnDisconnecting");
// send disconnect notification
sendRDPNotification(FREERDP_EVENT_DISCONNECTED, instance);
}
public void OnDisconnected(long instance) {
Log.v(TAG, "OnDisconnected");
sendRDPNotification(FREERDP_EVENT_DISCONNECTED, instance);
}
// TimerTask for disconnecting sessions after screen was turned off