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:
parent
08eb58e63b
commit
cf70347636
@ -110,6 +110,9 @@ public class CalendarEvents {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
} catch (Exception e) {
|
||||||
|
LOG.error("could not query calendar, permission denied?");
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user