summaryrefslogtreecommitdiff
path: root/app/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/com')
-rw-r--r--app/src/main/java/com/javispedro/vndroid/SettingsActivity.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/main/java/com/javispedro/vndroid/SettingsActivity.java b/app/src/main/java/com/javispedro/vndroid/SettingsActivity.java
index f595eac..a5daab7 100644
--- a/app/src/main/java/com/javispedro/vndroid/SettingsActivity.java
+++ b/app/src/main/java/com/javispedro/vndroid/SettingsActivity.java
@@ -207,6 +207,9 @@ public class SettingsActivity extends AppCompatActivity {
public void onServiceConnected(ComponentName name, IBinder service) {
server = ((ServerService.ServerBinder) service).getService();
server.setServerStatusCallback(this.callback);
+ if (this.callback != null) {
+ callback.onServerStatusChanged();
+ }
}
@Override