Commit Graph

30 Commits

Author SHA1 Message Date
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