Commit Graph

40 Commits

Author SHA1 Message Date
Torsten Grote 222b03f7ee Respect bounds for heartbeat intervals when learning from timeouts
Without this it can happen that we learn the interval too close to 0 which causes us to assume that we are always disconnected breaking Mcs network functionality

Change-Id: I0dee59d1365a8e10941dd346bfcd7af19d79d523
2021-11-03 13:02:51 +01:00
Torsten Grote 00a06d4b94 Don't reconnect to gcm when opening settings
This doesn't treat the underlying issues and can make debugging harder if we suddenly auto-connect due to this.

Change-Id: I9c04c78e8ebda8472b0cd8c7b0b0deb2e2300139
2021-11-03 13:02:51 +01:00
Torsten Grote d25e351c41 Re-connected in SettingsFragment if we are erroneously disconnected 2021-11-03 13:02:51 +01:00
Torsten Grote a808476b7d Work around rare crashes that can happen when fragments are not attached to a context
while co-routines are still executing but requiring a context

Change-Id: Ie6c7cee50014b59c25384d3bf9a122081b9917fc
2021-10-30 20:48:40 +02:00
Francesco Saltori 82d11e4e7a Log which app was denied push permission 2021-10-07 12:21:48 +02:00
Marvin W d707288ec9
Settings: Make provider package dependent and move to core 2021-08-20 10:28:03 +02:00
Chirayu Desai 012c2ffc89 SettingsProvider: Remove logs
* This is really spammy!

Change-Id: If1b9cbaa50bf8af37ca7146c6f510ad6875bab35
2021-08-19 14:40:48 +02:00
Torsten Grote aa3a2d65cd Refactor settings access to use a SettingsProvider
to enable safe usage of settings no matter which process is getting/setting them.
Previously, different processes were accessing settings in an unsafe way and the warn methods were throwing Runtime exceptions which went largely unnoticed, but happened, especially on a fresh start of the OS.

Change-Id: Ie4134e7be2a7ca4a373790f45fbcbd09bf02ad86
2021-06-27 22:39:15 +02:00
Marvin W 2e64427734
Add CredentialsService dummy 2021-06-26 11:28:46 +02:00
Torsten Grote 9ccb2073e0 Add a FontsProvider that always returns the default font 2021-06-06 17:00:51 -06:00
Marvin W e9766db28e
Fix build 2021-05-06 10:14:01 +02:00
Marvin W f6ec0efb63
Add FACS Cache dummy 2021-05-05 23:35:31 +02:00
Marvin W 1a809e0e47
SafetyNet updates
- Add more API details
- preliminary support for SafetyNet reCAPTCHA
- prepare for improved DroidGuard handling
2021-05-05 23:35:27 +02:00
Oliver Scott 63d09df2fc Replace remaining shared preference edits with service configuration setters
Change-Id: I518f54653791ce02cb0e82662802474c5e8852d5
2021-04-17 14:54:17 +02:00
Marvin W 161c2ffa24
Add Credentials Picker Stub 2021-04-15 12:06:24 +02:00
Marvin W ecfe3da3f7
Wakeful receivers only handle non-null intents 2021-03-09 22:21:25 +01:00
Marvin W 45d4dffb88
Add service to list, fix unknown service behavior 2020-12-22 00:15:00 +01:00
Marvin W c648883128
UI: Move advanced GCM configuration get/set off ui process 2020-12-20 19:29:51 +01:00
Marvin W 99a2293c77
Fix build without nearby services 2020-12-13 16:13:48 +01:00
Marvin W 93636a704d
GCM: Fix accidentally not allowing regitration for some apps 2020-10-18 14:23:10 +02:00
Marvin W 26f2e859b8
Ensure checkin before gcm registration, fix gcm permission requests 2020-10-15 22:08:05 +02:00
Marvin W c4b480c5a9
Add minimal dummy Phenotype service implementation 2020-10-12 21:33:57 +02:00
Marvin W d0668d3c83
Make nearby module optional, move UI bits in own module 2020-10-09 15:19:43 +02:00
Marvin W 7601b37ee4
EN: Display 0 RPIs as none in graph 2020-09-27 15:27:21 +02:00
Marvin W a016feba35
EN: Don't create TEK without need 2020-09-09 00:50:16 +02:00
Marvin W 6ec8332b1e
GCM: Ensure we have a context for preferences 2020-09-09 00:49:05 +02:00
Marvin W d33391ebce
EN: Handle confirmation via resolution/pending intent instead of new task 2020-09-05 23:51:00 +02:00
Marvin W fd6d915f0a
EN: Display last exposure report in settings 2020-09-04 10:44:08 +02:00
Marvin W d641ca7e7e
Fix UI mismatching actual configuration due to multiprocess 2020-09-03 00:50:39 +02:00
Marvin W c88832213c
Move UI into separate process 2020-08-25 13:13:00 +02:00
Marvin W aea55a5c90
Update EN API 2020-08-18 23:54:14 +02:00
Marvin W df5ad9f3de
Update EN API 2020-08-11 22:40:44 +02:00
Marvin W 2076970d40
Disable fragment transitions when system transitions/animations are disabled
Fixes #1119
2020-08-05 15:49:22 +02:00
Marvin W f30605b145
EN API: Only use a single writable database instance
Should fix some issues with older Android versions, #1115
2020-08-05 14:27:53 +02:00
Marvin W 5f70d943cb
Add initial Exposure Notification API implementation 2020-08-03 18:19:20 +02:00
Marvin W af28a78bba
Update chimera service provider 2020-08-03 18:05:14 +02:00
Marvin W 914a8307e9
Fix for #1110 crash on open uninstalled app details 2020-07-31 10:32:27 +02:00
Marvin W 74a1b1799c
Make strings translatable 2020-07-26 21:47:39 +02:00
Marvin W ed68a9482e
Add initial basic provisioning service 2020-07-26 13:40:09 +02:00
Marvin W 396965f407
Major changes to core and settings ui 2020-07-26 12:00:16 +02:00