Cancelled for now because DAVdroid and especially its libraries rely heavily on reflection; removing “unused” methods will cause errors. Renaming/obfuscation is not needed, so there’s no need for ProGuard at all. Optimization should happen by removing dependencies.
No need for a notification "Synchronization failed"
Since updating to DAVdroid 0.6.10 there is a notification in my notification bar, which says “Synchronization failed” along with exceptions. However I would like to turn these notifications off as I am aware that, when my server is not running, there won’t be any syncing.
My setup: Owncloud in a VirtualBox only accessible in the home network and only, when my host PC is running.
“Every feature you cannot configure is a bug.”
I’d call my post a feature request.
Unfortunately, I cannot add labels, as far as I know…
You can switch off automatic sync on the DAVdroid account. Then the notifications won’t appear on your phone.
I’d really love to be able to turn off those notifications again, too.
Switching off automatic sync is not an option for me. Before 0.6.10 DAVDroid just silently failed when the hostname of the server was not resolvable. That was great behaviour and one of the resons I chose DAVDroid in the first place. I’d like that behaviour back.
FWIW newer versions of Android can block a specific kind of notification, or disable notifications per-app.
Thanks for that hint, Markus.
Thanks! I’ll close this.
For everyone else: You can switch off notifications by going to
Settings / Apps / DAVdroid - then uncheck the “Show notifications” option.
Thanks for the solution!