Skip to content

Commit c9dc078

Browse files
committed
Fix for clients that need input sent before sending back the first frame.
1 parent 83e982b commit c9dc078

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bVNC/src/main/java/com/iiordanov/bVNC/input/RemoteCanvasHandler.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -600,9 +600,7 @@ public void handleMessage(final Message msg) {
600600
break;
601601
case RemoteClientLibConstants.GRAPHICS_SETTINGS_RECEIVED:
602602
Log.e(TAG, "GRAPHICS_SETTINGS_RECEIVED");
603-
if (remoteConnection.pd != null && remoteConnection.pd.isShowing()) {
604-
remoteConnection.pd.setMessage(context.getString(R.string.info_progress_dialog_downloading));
605-
}
603+
dismissProgressDialog();
606604
synchronized (remoteConnection.getRfbConn()) {
607605
remoteConnection.graphicsSettingsReceived = true;
608606
remoteConnection.getRfbConn().notifyAll();

0 commit comments

Comments
 (0)