Commit Graph

17 Commits

Author SHA1 Message Date
Marvin W affce9dc23 Set FLAG_INCLUDE_STOPPED_PACKAGES on GCM intents
Related to #75 #31
2016-01-12 20:59:39 +01:00
Michael Hamann 5fd376de7a GCM: Consider connection to be dead without ack messages
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.
2016-01-11 20:54:25 +01:00
Michael Hamann e264144aea GCM: Wake with exact guarantees for heartbeat
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.
2016-01-11 20:49:17 +01:00
mar-v-in 93645ca68f Make heartbeat interval adjustable #47 2015-12-04 11:26:59 -08:00
mar-v-in b6506209a9 Limit GCM Wakelock to 5s
fixes #53
2015-12-03 18:49:53 -08:00
lambdaupb 788eddc31e Reconnect Loop because of skipping backOff logic
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.
2015-10-23 18:27:50 +02:00
mar-v-in 770a70821e Add from field to legacy C2DM support. 2015-10-20 19:04:01 +02:00
mar-v-in 766a6a1b47 Update portions of GCM implementation
- Fix bug causing unregister to be send multiple times
- More work related to #23, #29 and #31
2015-10-11 00:46:58 +02:00
mar-v-in 1f67d1aad0 Automatically checkin after 12 hours 2015-10-04 00:15:24 +02:00
mar-v-in 40ca65bbf4 Huge Update
- 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)
2015-10-03 22:47:05 +02:00
mar-v-in 1a83f8281f Improve mcs connection
wake up device when reconnecting, fix teardown incomplete on null message (#24)
2015-08-17 23:28:01 +02:00
mar-v-in c826702bb9 Update build tools and upstream, fix issue described in #24 2015-08-17 01:03:06 +02:00
mar-v-in 331813ce3c Update maps, rework MCS
MCS rework related to #23 and #24
2015-08-04 13:05:47 +02:00
mar-v-in e1b757de3e Various fixes, Checkin (dependency for GCM) is still broken!
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)
2015-07-04 13:47:27 +02:00
mar-v-in 39c957cda8 MCS: Fix reconnect 2015-04-04 00:21:47 +02:00
mar-v-in 7b3e490d55 Add settings and Fix small MCS problems 2015-04-03 23:54:41 +02:00
mar-v-in 0e0309df85 Add trigger for Mcs *#*#gcmstart#*#* and various fixes 2015-04-02 23:46:47 +02:00
Renamed from play-services-core/src/main/java/org/microg/gms/gcm/mcs/McsService.java (Browse further)