Permalink
Browse files

Fix circular dependency between authority and contentUri calculation

  • Loading branch information...
ianhanniballake committed Sep 14, 2018
1 parent d0da671 commit ee264923fd38d0b01013b6f0d46111369ce7eda5
@@ -296,7 +296,7 @@ protected final Uri getContentUri() {
throw new IllegalStateException("getContentUri() should not be called before onCreate()");
}
if (contentUri == null) {
contentUri = ProviderContract.Artwork.getContentUri(authority);
contentUri = ProviderContract.Artwork.getContentUri(getContext(), getClass());
}
return contentUri;
}

0 comments on commit ee26492

Please sign in to comment.