Don't use Kotlin reflection if not really necessary

This commit is contained in:
Torsten Grote 2020-09-14 14:00:23 -03:00
parent 4db015dd7a
commit 5fee87ea97
No known key found for this signature in database
GPG key ID: 3E5F77D92CF891FF

View file

@ -47,7 +47,7 @@ internal class DocumentsProviderKVBackup(
} }
if (key.length > MAX_KEY_LENGTH_NEXTCLOUD) { if (key.length > MAX_KEY_LENGTH_NEXTCLOUD) {
Log.e( Log.e(
DocumentsProviderKVBackup::class.simpleName, DocumentsProviderKVBackup::class.java.simpleName,
"Key $key for ${packageInfo.packageName} is too long: ${key.length} chars." "Key $key for ${packageInfo.packageName} is too long: ${key.length} chars."
) )
} }