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

RefreshCollectionsWorker causes app to crash when the service is invalid #743

Closed sunkup closed 3 weeks ago

sunkup commented 3 weeks ago

Purpose

This fixes an app crash, caused by previously thrown IllegealArgumentException on invalid service IDs.

Short description

Gracefully handle refresh requests with invalid service IDs by not running the RefreshCollectionsWorker at all, instead of throwing an IllegalArgumentException which caused the crash.

Checklist