Commit Graph

25 Commits

Author SHA1 Message Date
Marcus Hoffmann 80b3129356 improve background location request flow
Instead of directly jumping to the settings screen (which is what the
"Request background location access" amounts to) and leaving the user
there without a clue what to do, we update the label, icon and button
with new text explaining what the user needs to do next.
2022-01-25 00:03:13 +01:00
Marcus Hoffmann 6cfc0aa255 request BLUETOOTH_SCAN and ADVERTISE permissions on Android 12
This also adds a warning notification when the app doesn't have the
required permission after an OS update.
2022-01-25 00:03:13 +01:00
Marvin W fba6fbdfd0
DotChartView: Format date without year 2022-01-14 10:39:10 +01:00
Marvin W 05d18bb8d2
Do not use application context when requesting resources
Application context is not properly themed, resulting in ugly UI on some devices
2022-01-14 10:39:10 +01:00
Torsten Grote a808476b7d Work around rare crashes that can happen when fragments are not attached to a context
while co-routines are still executing but requiring a context

Change-Id: Ie6c7cee50014b59c25384d3bf9a122081b9917fc
2021-10-30 20:48:40 +02:00
Christian Grigis a0558a5f38 EN: Fix permission granting on Android 11 2021-08-19 16:10:27 +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 7f131c0cfa
ENUI: Make date to dot position based on DateFormat
Should fix #1444
2021-05-05 23:31:46 +02:00
Fynn Godau c9d767dd80 Allow drawing RPIs fragment under system navbars 2021-05-05 23:20:50 +02:00
fynngodau 8dceaad8ea
Fix date format being used incorrectly (#1443)
fixes #1441
2021-04-17 13:20:30 +02:00
Fynn Godau 5b50e24636 EN: Hide legend if no data is to be displayed 2021-02-23 12:08:40 -06:00
Marvin W 2fe12d8788
EN-UI: Add popup to ID chart 2021-01-11 21:04:08 +01:00
Marvin W 2f29b93a99
EN-UI: Make legend translateable 2021-01-09 17:52:14 +01:00
Marvin W 65032fbb3c
EN-UI: Fix chart in dark mode, add legend 2021-01-08 21:15:11 +01:00
Marvin W 11a86d9169
EN: Display historgram of collected IDs using hourly heat map 2021-01-08 15:46:25 +01:00
Thomas Lambertz 4158e71999
EN: Add database export feature. Only exports the advertisements table. 2020-12-16 10:38:06 +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 9b91bf63c6
EN: (UI) Improve display of reported exposures 2020-12-12 13:13:25 +01:00
Marvin W 0c321fd1eb
EN: Display warnings in settings when not operating correctly 2020-12-06 11:00:09 +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
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 1deeb45834
EN: Make database access suspendable, add migration routine for oversized databases 2020-10-13 21:20:12 +02:00
Marvin W d0668d3c83
Make nearby module optional, move UI bits in own module 2020-10-09 15:19:43 +02:00