Consider no IDLE support as an error

This commit is contained in:
M66B
2018-11-27 09:23:13 +01:00
parent c854443af8
commit 33e3cfc919

View File

@@ -818,7 +818,7 @@ public class ServiceSynchronize extends LifecycleService {
db.account().setAccountState(account.id, "connected");
db.account().setAccountConnected(account.id, new Date().getTime());
db.account().setAccountError(account.id, null);
db.account().setAccountError(account.id, capIdle ? null : getString(R.string.title_no_idle));
NotificationManager nm = getSystemService(NotificationManager.class);
nm.cancel("receive", account.id.intValue());