diff options
author | Javier <dev.git@javispedro.com> | 2020-02-16 23:06:49 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2020-02-16 23:06:49 +0100 |
commit | 139a04da8b0810d12a8780dd6c3ae2f11ca9268f (patch) | |
tree | 6225969178a0d3b965ba8a409e2394df20fb26df /app/src/main/java/com/javispedro/vndroid | |
parent | 7d472a55a793fd9e968d3087be60245370547be1 (diff) | |
download | vndroid-139a04da8b0810d12a8780dd6c3ae2f11ca9268f.tar.gz vndroid-139a04da8b0810d12a8780dd6c3ae2f11ca9268f.zip |
add description to control service
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 { |