Commit Graph

85 Commits

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