From 139a04da8b0810d12a8780dd6c3ae2f11ca9268f Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 16 Feb 2020 23:06:49 +0100 Subject: add description to control service --- app/src/main/java/com/javispedro/vndroid/ServerService.java | 1 + 1 file changed, 1 insertion(+) (limited to 'app/src/main/java/com/javispedro/vndroid') 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 { -- cgit v1.2.3