Fixed disconnect handling.
This commit is contained in:
parent
14c236d682
commit
03f3f061b7
@ -167,13 +167,11 @@ public class GlobalApp extends Application implements LibFreeRDP.EventListener {
|
|||||||
|
|
||||||
public void OnDisconnecting(long instance) {
|
public void OnDisconnecting(long instance) {
|
||||||
Log.v(TAG, "OnDisconnecting");
|
Log.v(TAG, "OnDisconnecting");
|
||||||
|
|
||||||
// send disconnect notification
|
|
||||||
sendRDPNotification(FREERDP_EVENT_DISCONNECTED, instance);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnDisconnected(long instance) {
|
public void OnDisconnected(long instance) {
|
||||||
Log.v(TAG, "OnDisconnected");
|
Log.v(TAG, "OnDisconnected");
|
||||||
|
sendRDPNotification(FREERDP_EVENT_DISCONNECTED, instance);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TimerTask for disconnecting sessions after screen was turned off
|
// TimerTask for disconnecting sessions after screen was turned off
|
||||||
|
Loading…
Reference in New Issue
Block a user