Commit Graph

94 Commits

Author SHA1 Message Date
Marvin W
9304375da7
ENF: Use new base features 2022-01-24 17:47:34 +01:00
Marvin W
68e116388b
ENF: Add proper default for new columns 2022-01-16 23:08:51 +01:00
Marvin W
110157dab8
ENF: Handle issue with negative or 0 durations due to system time changes
With time synchronisation and can happen that timestamps in database are newer
than reported system time, which then can lead to reported exposure with
multiple measurements but negative or zero reported duration, resulting in
divide-by-zero and other issues in average RSSI calculation. This fixes the
issue, by ignoring new measurements of the same RPI when they are seemingly
older than a previous measurement.
2022-01-14 10:48:03 +01:00
Oliver S
ac779f9ac8 Fix off by one error 2022-01-14 10:12:57 +01:00
Oliver S
7321ea7d25 Add missing fields to ENF database 2022-01-14 10:12:57 +01:00
Oliver S
24d6b5aef5 Use ENF version 1.1 to send confidence values 2022-01-14 10:07:23 +01:00
Francesco Saltori
507c20aaac
Update and improve Italian translation (#1457) 2021-11-25 06:43:59 +01:00
Marcus Hoffmann
0ae3a82b4e add CWA and CCTG exposure file public signing keys
From: https://github.com/corona-warn-app/cwa-documentation/issues/740#issuecomment-963223074
2021-11-24 23:21:02 -06:00
Christian Grigis
9067f66f0c Instantiate key signatures on demand 2021-11-02 17:35:06 +01:00
Christian Grigis
dd617e27b6 Verify keyfiles only when a backend PK exists 2021-11-02 17:35:06 +01:00
Christian Grigis
8a1ac35c4d Ensure zip keyfile has unique entries 2021-11-02 17:35:06 +01:00
Christian Grigis
3885ed6ef8 Verifiy signature of received keyfiles 2021-11-02 17:35:06 +01:00
Marvin W
2e286a7e5b
Mark oneway functions as oneway in aidl 2021-08-20 10:28:03 +02:00
Marvin W
d707288ec9
Settings: Make provider package dependent and move to core 2021-08-20 10:28:03 +02:00
Francesco Saltori
985f0aea5a Remove outdated log message 2021-08-19 14:41:08 +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
fbcb6066c3
Exposure Notifications: Request permissions for Android 12 Beta 2021-06-27 22:19:26 +02:00
Marvin W
e42f68497f
EN: Add undocumented feature flag. Required for latest CWA to register test.
Fixes #1469
2021-05-13 14:16:37 +02:00
Marvin W
cd0953b44e
Update libraries 2021-05-10 16:25:20 +02:00
fynngodau
9eb0adda9d
Omit RPIs in log (#1464) 2021-05-05 23:20:23 +02:00
Marvin W
aee45c22be
EN: Add implementation for getStatus() 2021-04-28 20:09:32 +02:00
Marvin W
412e513afe
EN: Implement new versioning scheme of API 1.8 2021-02-21 16:39:12 -06:00
Marvin W
83a150b128
EN: Add API for API version 1.8 2021-02-21 16:24:22 -06:00
Marvin W
baf890cf18
Bump version 2021-01-12 14:27:36 +01:00
Óscar Fernández Díaz
b0fae31c4b
Update Spanish translation (#1315) 2021-01-11 23:14:48 +01:00
Marvin W
11a86d9169
EN: Display historgram of collected IDs using hourly heat map 2021-01-08 15:46:25 +01:00
Marvin W
6e176cceed
EN: Move permission to not interfere with existing permission when used as a library 2021-01-06 12:14:53 +01:00
Marvin W
f12536e6ce
EN: Catch errors in zip file processing 2021-01-06 12:11:57 +01:00
Marvin W
8e7544bd14
EN: Correctly set since last scan in seconds not milliseconds 2021-01-06 12:00:59 +01:00
Marvin W
91c8e43ab9
EN: Make service more robust against exceptions while processing app input 2020-12-27 17:09:51 +01:00
Marvin W
68a16af53b
Change background service notification
Fixes #1324
2020-12-21 21:46:03 +01:00
Marvin W
85e06675f3
EN: Fix notifications on 8.0.0
Actually same issue as #1312
2020-12-21 17:05:31 +01:00
Marvin W
714367b3aa
EN: Remove ExposureSummary from intent extras in ExposureWindow mode
Intent extras are only supported in v1 mode, but CWA also accesses them in
ExposureWindow mode, which can result in ClassNotFoundException in optimized
builds.

Fixes #1325
2020-12-20 19:29:51 +01:00
Marvin W
8b49b05585
EN: Do not log isEnabled calls
Some apps make excessive use of this method, so better not log it
2020-12-20 19:29:50 +01:00
Marvin W
c30e05ee68
EN: Use own file provider class to ensure there is no duplicate use 2020-12-20 19:29:50 +01:00
Marvin W
f0337b5dcd
Move EN and GCM service in persistent subprocess
This increases stability/durability of these services in case of crashes
2020-12-20 19:29:50 +01:00
Marvin W
6d423bb8e4
EN: Make rotated key use same start number as regular key
This hides the fact that the key was rotated. Probably never needed because one
is not going to get infected twice within 14 days, but doesn't hurt either.
2020-12-20 19:29:50 +01:00
Marvin W
0e8c8bb712
EN: Use applicationId as authority for export file provider 2020-12-16 19:49:37 +01:00
Marvin W
15609af676
EN: Update device data
Include newly added devices and corrections published 2020-12-14
2020-12-16 11:13:05 +01:00
Marvin W
1ffb559af0
EN: Adjust export UI 2020-12-16 10:38:06 +01:00
Thomas Lambertz
0a9d4869c7
EN: change mime-type when exporting database to be microg specific 2020-12-16 10:38:06 +01:00
Thomas Lambertz
4158e71999
EN: Add database export feature. Only exports the advertisements table. 2020-12-16 10:38:06 +01:00
Vladimir Filatov
879b4c1396
Add Belarusian translation (#1313) 2020-12-14 21:20:19 +01:00
Marvin W
847e823d64
Fix translations 2020-12-13 20:06:48 +01:00
Vladimir Filatov
5b77f5b210
Update Russian translation (#1311) 2020-12-13 18:45: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
a814c7de7e
EN: Request users to enable Bluetoooth/Location access 2020-12-13 15:37:07 +01:00
Marvin W
3dad397dd1
EN: (UI) Add low priority, unexported EXPOSURE_NOTIFICATION_SETTINGS activity.
Useful when bundling the library with EN apps.
2020-12-12 13:13:25 +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