Skip to content

Commit

Permalink
make resourceresolver constructor package private
Browse files Browse the repository at this point in the history
Summary: Now that ResourceResolver is only constructed within ComponentContext, we can make its constructor package private to prevent other Components from accessing it in another way.

Reviewed By: astreet

Differential Revision: D16587477

fbshipit-source-id: 4c18a52e3e6e3594f2748e867a1f32f1939c2de9
  • Loading branch information
usikder authored and facebook-github-bot committed Aug 2, 2019
1 parent 7656822 commit dde30dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class ResourceResolver {
private final Resources.Theme mTheme;
private final ResourceCache mResourceCache;

public ResourceResolver(ComponentContext context) {
ResourceResolver(ComponentContext context) {
mResources = context.getAndroidContext().getResources();
mTheme = context.getAndroidContext().getTheme();
mResourceCache = context.getResourceCache();
Expand Down

0 comments on commit dde30dc

Please sign in to comment.