1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 12:56:49 +01:00

Fix crash when calender is accessed but permissin is denied

Fixes #2624
This commit is contained in:
Andreas Shimokawa 2022-03-31 11:25:15 +02:00
parent 08eb58e63b
commit cf70347636

View File

@ -110,6 +110,9 @@ public class CalendarEvents {
} }
} }
return true; return true;
} catch (Exception e) {
LOG.error("could not query calendar, permission denied?");
return false;
} }
} }