Commit Graph

1494 Commits

Author SHA1 Message Date
KevinX8 6814161c48
Remove the oop 2022-03-11 09:51:17 +00:00
KevinX8 309544601e
Merge pull request #183 from DavidBrazSan/master
Add translation of Portuguese Brazil
2022-03-09 12:20:17 +00:00
KevinX8 88f083616a
Merge pull request #184 from Oizaro/master
New stuff
2022-03-08 19:52:54 +00:00
Oizaro 895b6628fb Update deps 2022-03-08 20:18:59 +01:00
Oizaro 61582b63d0 Use new method for lifting idle restrictions temporarily when receiving PUSH messages 2022-03-08 20:18:49 +01:00
David BrazSan 77b560e620
Create strings.xml 2022-02-28 11:14:14 -03:00
David BrazSan 1899564f74
Create plurals.xml 2022-02-28 11:13:23 -03:00
David BrazSan 7e5f008906
Create arrays.xml 2022-02-28 11:12:39 -03:00
KevinX8 379346614c
Merge pull request #178 from Oizaro/master
Restore previous services list
2022-02-11 16:43:15 +00:00
KevinX8 cafd5ee4d4
Merge pull request #177 from novas78/master
Update of Czech translation
2022-02-11 15:43:14 +00:00
Lukas Novotny 2b2581d131
Update of Czech translation 2022-02-11 16:15:20 +01:00
Oizaro 6ca53537ee Restore previous services list 2022-02-11 16:06:20 +01:00
KevinX8 dc6426b9ff
Merge pull request #175 from Oizaro/master
Fix potential context crash + update deps
2022-02-09 21:39:28 +00:00
Oizaro 8a0361ea5e Fix potential context crash + update deps 2022-02-09 22:17:39 +01:00
KevinX8 d3092c4579
Merge pull request #174 from Oizaro/master
MicroG 0.2.24.220220
2022-02-07 09:40:00 +00:00
Oizaro 56538dd003 Merge remote-tracking branch 'upstream/master' 2022-02-05 12:52:03 +01:00
Oizaro a33a62ac79 MicroG 0.2.24.220220 2022-02-05 12:45:55 +01:00
Marvin W 17b8371b48
Update UnifiedNlp version 2022-02-01 20:23:12 +01:00
Marvin W adf534d20a
ENF: Replace invalid RSSI values in database 2022-02-01 14:47:52 +01:00
Tim Hetkämper 75aaeb1fc6 ENF: Fix average RSSI calculation
Correctly discard new measurements when the reported timestamp is older
than the timestamp in the database.
Fixes https://github.com/microg/GmsCore/issues/1655.
2022-02-01 13:50:37 +01:00
Marvin W 61957c33cd
ProfileManager: Allow overriding User-Agent in WebView 2022-02-01 13:36:39 +01:00
KevinX8 e6d706456e
Merge pull request #170 from Oizaro/master
MicroG 0.2.23.220217
2022-01-31 12:57:15 +00:00
KevinX8 d231e059f7 Update Dependencies and SDK target to match Vanced 2022-01-31 12:49:59 +00:00
Oizaro 5f2b3b5205 Cleanup 2022-01-31 00:31:49 +01:00
Oizaro 785ffe4933 Fix 2022-01-29 20:55:43 +01:00
Oizaro 8472943bb4 Optimize imports 2022-01-28 01:15:01 +01:00
Oizaro f600688264 Merge remote-tracking branch 'upstream/master' 2022-01-28 01:06:36 +01:00
Oizaro d64e4556f6 MicroG 0.2.23.220217 2022-01-28 00:47:01 +01:00
Marvin W af28974d97
Use different API key for SafetyNet checks 2022-01-25 18:31:32 +01:00
Marvin W 0497f7ead3
Make strings translatable 2022-01-25 18:31:24 +01:00
Torsten Grote f3c20333b0 Don't teardown things after sockets have been closed
Before, the call to closeAll() in McsService#connect() would trigger a SocketException (Socket closed) in McsOutputStream and/or McsInputStream. This would send a teardown message causing McsService to take the new connection down right away. In unlucky situations, this could cause small connect/teardown loops. This commit hopes to prevent those.

Change-Id: Id347d598e028bdd1ba2622cd6a5c6b07874335d6
2022-01-25 12:37:08 +01:00
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
Torsten Grote 2ba2c04cc0 Don't say we are connected when push is disabled for current network
This may cause a connection attempt, but in connect(), we'll notice that it is disabled and won't continue to connect.

Change-Id: Id5f00539a48fad16b5e5f55bd336fb8890aa1acc
2022-01-25 12:37:08 +01:00
Torsten Grote bb68674cae Initiate connection teardown only once
Otherwise, this gets called multiple times from different places via MSG_TEARDOWN. This causes the reconnect delay to increase with each call to scheduleReconnect(), increasing the time we stay disconnected.

This commit introduces a boolean flag preventing handleTeardown() to run twice or more until connect() was called again.

Change-Id: I3d7cb08d696be48532a61819fbb279a908919a3d
2022-01-25 12:37:08 +01:00
Marcus Hoffmann 10455df7e2 also catch potential stopAdvertising exceptions 2022-01-25 00:03:13 +01:00
Marcus Hoffmann 88d14e9e8a fix log message on BLE advertising on SDK < 26 2022-01-25 00:03:13 +01:00
Fynn Godau 15a1b15591 Really fix nearby permission check in settings view 2022-01-25 00:03:13 +01:00
Marcus Hoffmann 80b3129356 improve background location request flow
Instead of directly jumping to the settings screen (which is what the
"Request background location access" amounts to) and leaving the user
there without a clue what to do, we update the label, icon and button
with new text explaining what the user needs to do next.
2022-01-25 00:03:13 +01:00
Marcus Hoffmann 6cfc0aa255 request BLUETOOTH_SCAN and ADVERTISE permissions on Android 12
This also adds a warning notification when the app doesn't have the
required permission after an OS update.
2022-01-25 00:03:13 +01:00
Marvin W 4a5c98491b
Bump version 2022-01-24 19:53:07 +01:00
Marvin W 7969aa817b
Fix Lint issues 2022-01-24 19:51:54 +01:00
Marvin W 91071bbea1
Move ReCAPTCHA Activity to UI package 2022-01-24 19:11:36 +01:00
Marvin W 6e21b52bfe
Profile Manager: Add configuration features 2022-01-24 17:47:34 +01:00
Marvin W 3bbae67fda
Claim to provide tapandpay_token_listing feature 2022-01-24 17:47:34 +01:00
Marvin W 9f3a5ce329
Mapbox: Don't crash for invalid Polygons 2022-01-24 17:47:34 +01:00
Marvin W 711e5c7e12
Fix build of maps-vtm 2022-01-24 17:47:34 +01:00
Marvin W 552aaf856d
Update stub services 2022-01-24 17:47:34 +01:00
Marvin W 10de88b89f
Add new Auth API features 2022-01-24 17:47:34 +01:00
Marvin W 854f879da4
Update checkin service API 2022-01-24 17:47:34 +01:00
Marvin W 9304375da7
ENF: Use new base features 2022-01-24 17:47:34 +01:00