This stores the timestamp of the last ack message that has been
received. The connection is considered to be dead if the last ack
message has been received more than twice the configured interval ago.
This changes how the alarms for heartbeat pings are scheduled. Instead
of a repeating, inexact alarm that may be delayed (at least up to 15
minutes), either an exact alarm (below Android 4.4) or an interval is used
which ensures that the alarm fires between half the configured interval
and the configured interval. This interval allows the OS to optimize
alarms a bit. For Android 6.0 further adjustments are probably
necessary.
currentDelay would stay 0 if error occurs in connect() method,
resulting in busy-loop on network failures.
Fix by always calling scheduleReconnect() which contains backoff logic.
- Update Location APIs, fixes#37
- Update version number, fixes#38
- Enable long press input on WebView during login, fixes#34
- Extended log output and auto-repair for GCM connection, related to #29 and #31
- New icons
- Small quirks in Auth handling (required for Login to some applications)
Fix lint (fixes#20)
(hopefully) Fix mcs loop (could cause high battery drain)
Show link to UnifiedNlp in settings (mentioned in #10, @XDA)
Add extended description for settings (mentioned @XDA)