Skip to content

Commit

Permalink
Merge pull request #9 from vicfran/fix-authority
Browse files Browse the repository at this point in the history
Fix library authority name used at TaggingViewerInitProvider
  • Loading branch information
alorma authored Dec 23, 2022
2 parents 486f9dd + 948373d commit c4921f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class TaggingViewerInitProvider : ContentProvider() {
throw NullPointerException("YourLibraryInitProvider ProviderInfo cannot be null.")
}
// So if the authorities equal the library internal ones, the developer forgot to set his applicationId
if (BuildConfig.LIBRARY_PACKAGE_NAME + ".yourlibraryinitprovider" == providerInfo.authority) {
if (BuildConfig.LIBRARY_PACKAGE_NAME + ".taggingviewerinitprovider" == providerInfo.authority) {
throw IllegalStateException(
"Incorrect provider authority in manifest. Most likely due to a " + "missing applicationId variable in application\'s build.gradle."
)
Expand Down

0 comments on commit c4921f8

Please sign in to comment.