diff options
Diffstat (limited to 'app/src/main/java/com/javispedro/vndroid')
-rw-r--r-- | app/src/main/java/com/javispedro/vndroid/ServerService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/com/javispedro/vndroid/ServerService.java b/app/src/main/java/com/javispedro/vndroid/ServerService.java index 96420df..b39f175 100644 --- a/app/src/main/java/com/javispedro/vndroid/ServerService.java +++ b/app/src/main/java/com/javispedro/vndroid/ServerService.java @@ -218,6 +218,7 @@ public class ServerService extends Service { private class ScreenGrabberCallback implements ScreenGrabber.Callback { @Override public void onImage(Image image) { + if (image == null) return; if (rfbServer != null) { rfbServer.putImage(image); } else { |