Ref: https://github.com/nextcloud/android-library/pull/932#issuecomment-1210473309
Ref: nextcloud/android-library#932 (comment)