Added comment

This commit is contained in:
M66B 2020-08-29 12:38:06 +02:00
parent 627b235f93
commit 1975a4b085
1 changed files with 1 additions and 0 deletions

View File

@ -993,6 +993,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
throw ex; throw ex;
} }
// https://tools.ietf.org/html/rfc2177
final boolean capIdle = iservice.hasCapability("IDLE"); final boolean capIdle = iservice.hasCapability("IDLE");
Log.i(account.name + " idle=" + capIdle); Log.i(account.name + " idle=" + capIdle);
if (!capIdle || account.poll_interval < OPTIMIZE_KEEP_ALIVE_INTERVAL) if (!capIdle || account.poll_interval < OPTIMIZE_KEEP_ALIVE_INTERVAL)