Commit Graph

43 Commits

Author SHA1 Message Date
Fynn Godau
15a1b15591 Really fix nearby permission check in settings view 2022-01-25 00:03:13 +01:00
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
Francesco Saltori
507c20aaac
Update and improve Italian translation (#1457) 2021-11-25 06:43:59 +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
fbcb6066c3
Exposure Notifications: Request permissions for Android 12 Beta 2021-06-27 22:19:26 +02:00
Marvin W
cd0953b44e
Update libraries 2021-05-10 16:25:20 +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
Marcus Hoffmann
ff1f879ab6 add deeplink to rpi information screen
CCTG could use this when interacting with external microG. Instead of
directly embedding the fragment through the bottomNavigationBar we can
at least jump to the correct target location. Doing this through an
implicit deeplink intent seems easiest as an explicit intent adds all
the top level nav elements to the backstack
(see: https://developer.android.com/guide/navigation/navigation-deep-link).

Tested and this works pretty nicely :).
2021-03-17 23:39:56 +01:00
Fynn Godau
5b50e24636 EN: Hide legend if no data is to be displayed 2021-02-23 12:08:40 -06:00
Óscar Fernández Díaz
b0fae31c4b
Update Spanish translation (#1315) 2021-01-11 23:14:48 +01:00
Vladimir Filatov
75ae299b54
Improve translations (#1330) 2021-01-11 21:15:36 +01:00
heyarne
29b39a861e
Fix typo for short exposure notifications (#1355) 2021-01-11 21:05:50 +01: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
Marvin W
1ffb559af0
EN: Adjust export UI 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
Pdevo
ecdb766741
Italian translations: Fixed typos (#1310) 2020-12-13 18:21:28 +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
369c3d7557
EN: Allow exporting key of current day
This requires rotating the daily TEK when exporting
2020-12-12 13:13:25 +01:00
Vladimir Filatov
3843001caa
Update russian translation (#1305) 2020-12-11 23:35:31 +01:00
Marvin W
d9d3325cc5
EN: Add scrolling to confirmation dialog
Useful for small screen + large font devices
2020-12-08 20:24:00 +01:00
Pdevo
bce7541693
Update Italian translations (#1301) 2020-12-06 11:32:19 +01:00
Marvin W
0c321fd1eb
EN: Display warnings in settings when not operating correctly 2020-12-06 11:00:09 +01:00
Marvin W
a43273b5e0
Gradle: add description to poms 2020-11-24 23:02:32 +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