Commit Graph

29 Commits

Author SHA1 Message Date
Thomas Lambertz 4158e71999
EN: Add database export feature. Only exports the advertisements table. 2020-12-16 10:38:06 +01:00
Marvin W f5578feea2
EN: Manually cast to long whenever needed to be on the safe side 2020-12-13 15:50:54 +01:00
Marvin W 0cd028af0e
EN: Don't allow apps to turn off EN that didn't turn it on before 2020-12-12 13:13:25 +01:00
Marvin W 9b91bf63c6
EN: (UI) Improve display of reported exposures 2020-12-12 13:13:25 +01:00
Marvin W 369c3d7557
EN: Allow exporting key of current day
This requires rotating the daily TEK when exporting
2020-12-12 13:13:25 +01:00
Marvin W a3d6f1aed5
EN: Don't adjust tx power by TX_POWER_LOW (-15)
The exposure-notifications-internal suggests that this is the thing to do,
but the actual implementaton doesn't.
2020-12-12 13:13:24 +01:00
Marvin W 2b09a5e530
EN: Ensure correct handling of new provideDiagnosisKeys()
Fixes #1300
2020-12-03 10:15:18 +01:00
Marvin W e84452aeaf
EN: Clear matching cache to ensure we don't miss any warnings due to changed bluetooth protocol 2020-11-24 16:36:08 +01:00
Marvin W 50c241ab63
EN: Fixed rare case of incorrectly reporting more exposures than happened 2020-11-19 18:40:11 +01:00
Marvin W 4c2ef04364
EN API: Update 2020-11-18 19:18:20 +01:00
Marvin W b67a11f4e6
EN: Display more details about app usage, add feature for deleting RPI storage 2020-10-17 22:58:02 +02:00
Marvin W 155bbce69b
EN: Retroactively "repair" broken database entries to a sane default value
Related to #1230
2020-10-17 15:30:03 +02:00
Marvin W 139f7eaf17
EN: Correctly average rssi on database entry update
Fixes #1230
2020-10-17 15:09:17 +02:00
Marvin W 0eb75ba363
EN: Fix oversize database migration 2020-10-14 11:28:28 +02:00
Marvin W 1deeb45834
EN: Make database access suspendable, add migration routine for oversized databases 2020-10-13 21:20:12 +02:00
Marvin W 775b18c203
EN: Make sure to that database lock is freed during daily cleanup every 5s
Delete with limit is not supported on all Androids
2020-10-09 16:24:43 +02:00
Christian Grigis 4e3c03cfaa
Fix overflow that prevents matching 2020-10-09 15:24:50 +02:00
Marvin W 4486ff52ef
EN: Improve some database bits 2020-10-07 23:16:53 +02:00
Marvin W 6afcca0396
EN: Add latest API details, improve performance 2020-09-27 14:57:08 +02:00
Marvin W f9cc9249d5
EN: Run cleanup in IO thread, improve performance 2020-09-09 00:50:58 +02:00
Marvin W a016feba35
EN: Don't create TEK without need 2020-09-09 00:50:16 +02:00
Marvin W f48298b1f6
EN: Improve database performance 2020-09-06 19:50:19 +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 876e32acd5
EN: Make internal structures closer to ExposureWindow mode 2020-09-04 00:13:11 +02:00
Marvin W cfc1c314d4
EN: Cleanup data after 14 days, improve storage efficiency, add randomness for changing RPI 2020-08-25 13:13:00 +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 761b6dfd47
Do not use database.use (for pre-Q), ensure database stays open as needed
Related to #1115
2020-08-04 11:42:15 +02:00
Marvin W 5f70d943cb
Add initial Exposure Notification API implementation 2020-08-03 18:19:20 +02:00