Loading core/java/android/content/res/ResourcesKey.java +12 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,6 @@ public final class ResourcesKey { private final int mHash; @UnsupportedAppUsage public ResourcesKey(@Nullable String resDir, @Nullable String[] splitResDirs, @Nullable String[] overlayDirs, Loading Loading @@ -85,6 +84,18 @@ public final class ResourcesKey { mHash = hash; } @UnsupportedAppUsage public ResourcesKey(@Nullable String resDir, @Nullable String[] splitResDirs, @Nullable String[] overlayDirs, @Nullable String[] libDirs, int displayId, @Nullable Configuration overrideConfig, @Nullable CompatibilityInfo compatInfo) { this(resDir, splitResDirs, overlayDirs, libDirs, displayId, overrideConfig, compatInfo, null); } public boolean hasOverrideConfiguration() { return !Configuration.EMPTY.equals(mOverrideConfiguration); } Loading Loading
core/java/android/content/res/ResourcesKey.java +12 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,6 @@ public final class ResourcesKey { private final int mHash; @UnsupportedAppUsage public ResourcesKey(@Nullable String resDir, @Nullable String[] splitResDirs, @Nullable String[] overlayDirs, Loading Loading @@ -85,6 +84,18 @@ public final class ResourcesKey { mHash = hash; } @UnsupportedAppUsage public ResourcesKey(@Nullable String resDir, @Nullable String[] splitResDirs, @Nullable String[] overlayDirs, @Nullable String[] libDirs, int displayId, @Nullable Configuration overrideConfig, @Nullable CompatibilityInfo compatInfo) { this(resDir, splitResDirs, overlayDirs, libDirs, displayId, overrideConfig, compatInfo, null); } public boolean hasOverrideConfiguration() { return !Configuration.EMPTY.equals(mOverrideConfiguration); } Loading