Skip to content
Snippets Groups Projects
Commit ed6144dc authored by Adrien Béraud's avatar Adrien Béraud
Browse files

SyncService: start daemon

Change-Id: I8d2268de5bc5878e5a8f073d2afb393dfb7dc0fb
parent 62567ac6
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,7 @@ import androidx.core.app.NotificationCompat;
import java.util.Random;
import cx.ring.R;
import cx.ring.application.JamiApplication;
import cx.ring.client.HomeActivity;
public class SyncService extends Service {
......@@ -73,6 +74,8 @@ public class SyncService extends Service {
startForeground(NOTIF_SYNC_SERVICE_ID, notif, ServiceInfo.FOREGROUND_SERVICE_TYPE_DATA_SYNC);
else
startForeground(NOTIF_SYNC_SERVICE_ID, notif);
JamiApplication.getInstance().startDaemon();
}
}
else if (ACTION_STOP.equals(action)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment