Commit Graph

71 Commits

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