summaryrefslogtreecommitdiff
path: root/app/src/main/java/com
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2020-02-16 23:06:49 +0100
committerJavier <dev.git@javispedro.com>2020-02-16 23:06:49 +0100
commit139a04da8b0810d12a8780dd6c3ae2f11ca9268f (patch)
tree6225969178a0d3b965ba8a409e2394df20fb26df /app/src/main/java/com
parent7d472a55a793fd9e968d3087be60245370547be1 (diff)
downloadvndroid-139a04da8b0810d12a8780dd6c3ae2f11ca9268f.tar.gz
vndroid-139a04da8b0810d12a8780dd6c3ae2f11ca9268f.zip
add description to control service
Diffstat (limited to 'app/src/main/java/com')
-rw-r--r--app/src/main/java/com/javispedro/vndroid/ServerService.java1
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 {