aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/ui
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-11-12 14:41:43 +0100
committeriNPUTmice <daniel@gultsch.de>2014-11-15 15:34:34 +0100
commit3c6b3506e32979b80dc2a8163437ecbab16b8acb (patch)
tree3d240e476af1fd384e13a4da62d850a5cf82a509 /src/main/java/eu/siacs/conversations/ui
parent4c504dea7ac7b0413df89ec630408b91f4abddb4 (diff)
turn on foreground service in expert settings
Diffstat (limited to 'src/main/java/eu/siacs/conversations/ui')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/SettingsActivity.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/SettingsActivity.java b/src/main/java/eu/siacs/conversations/ui/SettingsActivity.java
index aba60175..b6f3a077 100644
--- a/src/main/java/eu/siacs/conversations/ui/SettingsActivity.java
+++ b/src/main/java/eu/siacs/conversations/ui/SettingsActivity.java
@@ -70,6 +70,8 @@ public class SettingsActivity extends XmppActivity implements
}
}
}
+ } else if (name.equals("keep_foreground_service")) {
+ xmppConnectionService.toggleForegroundService();
}
}