Commit Graph

95 Commits

Author SHA1 Message Date
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 128ca58bfe
EN: Handle callback exceptions for newest methods 2020-12-12 13:13:24 +01:00
Marvin W 0c321fd1eb
EN: Display warnings in settings when not operating correctly 2020-12-06 11:00:09 +01:00
Marvin W 2b09a5e530
EN: Ensure correct handling of new provideDiagnosisKeys()
Fixes #1300
2020-12-03 10:15:18 +01:00
Marvin W f7190091af
EN: Add methods to check if advertising/scanning is supported by device 2020-12-01 18:27:07 +01:00
Christian Grigis d4e20883d7 Avoid division by 0 2020-12-01 18:20:17 +01:00
Marvin W a43273b5e0
Gradle: add description to poms 2020-11-24 23:02:32 +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 bc0b08c2b6
EN: Only ask for confirmation if build comes with confirm ui 2020-11-19 20:07:37 +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
Christian Grigis 42da7aa2fa Handle callback when returning early 2020-11-10 10:14:29 +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 15fb118bbd
EN: Correctly report multiple exposures to same key 2020-10-17 19:18:59 +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 d3d04459d6
EN: Support partial device list matches 2020-10-15 22:09:15 +02:00
Christian Grigis b0e52b7a89 Update power calibrations with latest data 2020-10-15 10:02:18 +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 da7a4e0fdb Add exposure summary to exposure intent 2020-10-09 15:28:28 +02:00
Christian Grigis 4e3c03cfaa
Fix overflow that prevents matching 2020-10-09 15:24:50 +02:00
Christian Grigis fed85b1ca4 Make DB access uniform with ENServiceImpl 2020-10-09 15:21:01 +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 a2afbe07fd
Only apply preferences when they actually changed 2020-09-13 02:14:32 +02:00
Marvin W da9a3e714d
EN: Support SDK 26+ AdvertisingSet, use scheduled alarms for improved scanning in idle 2020-09-13 02:14:32 +02:00
Marvin W 4663d61007
EN: Don't scan persistently 2020-09-09 20:17:26 +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 6794ab4417
EN: Merge enabled settings 2020-09-02 21:10:29 +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 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 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
Kamil Bobrowski 7d91551126 reading from the stream in a loop
this ensures that desired number of bytes will be read,
as stream.read(byte[] buffer) will just make effort to read
at least 1 byte
2020-08-03 22:53:28 +02:00
Marvin W 5f70d943cb
Add initial Exposure Notification API implementation 2020-08-03 18:19:20 +02:00