Commit 20b4436a authored by Tiago Cunha's avatar Tiago Cunha Committed by GitHub

Merge pull request #138 from RocketChat/not_sticky

prevent RocketChatService from automatically restarting
parents da2386e7 82e1249e
...@@ -95,7 +95,7 @@ public class RocketChatService extends Service { ...@@ -95,7 +95,7 @@ public class RocketChatService extends Service {
connectionRequiredServerConfigObserver.sub(); connectionRequiredServerConfigObserver.sub();
return null; return null;
}); });
return START_STICKY; return START_NOT_STICKY;
} }
private void connectToServerWithServerConfig(List<ServerConfig> configList) { private void connectToServerWithServerConfig(List<ServerConfig> configList) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment