From 03f3f061b7bb854f9d781142566c8a97d20088c5 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Fri, 3 Mar 2017 12:06:37 +0100 Subject: [PATCH] Fixed disconnect handling. --- .../java/com/freerdp/freerdpcore/application/GlobalApp.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/Android/Studio/freeRDPCore/src/main/java/com/freerdp/freerdpcore/application/GlobalApp.java b/client/Android/Studio/freeRDPCore/src/main/java/com/freerdp/freerdpcore/application/GlobalApp.java index 1fb531879..ce6c4d871 100644 --- a/client/Android/Studio/freeRDPCore/src/main/java/com/freerdp/freerdpcore/application/GlobalApp.java +++ b/client/Android/Studio/freeRDPCore/src/main/java/com/freerdp/freerdpcore/application/GlobalApp.java @@ -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