VancedMicroG/play-services-core/src/main/java/org/microg/gms
Torsten Grote b9b1ef6246 Detect missing heartbeat ACKs and broken connections faster
Waiting twice the heartbeat interval since the last ACK can make us miss dead connections for more than 10min in which no push messages get received.

This change requires the ACK to come within 90 seconds of sending the heartbeat ping, otherwise the connection is considered dead which will trigger a re-connect.

We use a high timeout of 90 seconds, because in some mobile networks (like in trains) ping times of more than 60 seconds have been observed in practice.

Change-Id: I8e63843400b47e1a6d23faf180f9446bcb5e0cd8
2022-01-25 12:37:08 +01:00
..
ads Increase version code, update sublib and copyright header 2017-06-13 00:34:09 +02:00
appinvite Implement AppInvite and Firebase Dynamic Links 2020-07-26 15:20:06 +02:00
auth Fix Lint issues 2022-01-24 19:51:54 +01:00
car Increase version code, update sublib and copyright header 2017-06-13 00:34:09 +02:00
cast Huge merge/refactor/update 2020-07-08 22:49:27 +02:00
checkin Update checkin service API 2022-01-24 17:47:34 +01:00
drive/api Increase version code, update sublib and copyright header 2017-06-13 00:34:09 +02:00
feedback Increase version code, update sublib and copyright header 2017-06-13 00:34:09 +02:00
feeds Increase version code, update sublib and copyright header 2017-06-13 00:34:09 +02:00
firebase/dynamiclinks Update firebase dynamic links API 2022-01-14 10:39:09 +01:00
games Increase version code, update sublib and copyright header 2017-06-13 00:34:09 +02:00
gcm Detect missing heartbeat ACKs and broken connections faster 2022-01-25 12:37:08 +01:00
gservices Increase version code, update sublib and copyright header 2017-06-13 00:34:09 +02:00
icing Increase version code, update sublib and copyright header 2017-06-13 00:34:09 +02:00
mdm Increase version code, update sublib and copyright header 2017-06-13 00:34:09 +02:00
people Fix typo 2021-03-18 01:20:39 +01:00
phenotype Huge merge/refactor/update 2020-07-08 22:49:27 +02:00
places Increase version code, update sublib and copyright header 2017-06-13 00:34:09 +02:00
playlog Update stub services 2022-01-24 17:47:34 +01:00
plus Increase version code, update sublib and copyright header 2017-06-13 00:34:09 +02:00
reminders Increase version code, update sublib and copyright header 2017-06-13 00:34:09 +02:00
settings Increase version code, update sublib and copyright header 2017-06-13 00:34:09 +02:00
ui Fix Lint issues 2022-01-24 19:51:54 +01:00
wallet Return empty list of accounts when receiving weird requests 2020-12-01 18:30:07 +01:00
wearable Add profile manager 2022-01-14 10:39:10 +01:00