bitfireAT / davx5-ose

DAVx⁵ is an open-source CalDAV/CardDAV suite and sync app for Android. You can also access your online files (WebDAV) with it.
https://www.davx5.com
GNU General Public License v3.0
1.25k stars 69 forks source link

RefreshCollectionWorker causes app to crash when the service is invalid #738

Closed rfc2822 closed 3 weeks ago

rfc2822 commented 4 weeks ago

This line causes the app to crash when the service ID (input data of RefreshCollectionsWorker) is invalid:

https://github.com/bitfireAT/davx5-ose/blob/34b88c3ad8d603693908960d28b5c2c6bd1e3453/app/src/main/kotlin/at/bitfire/davdroid/servicedetection/RefreshCollectionsWorker.kt#L183

Instead, the worker should just ignore the request.