Merge "Restore UnsupportedAppUsage method call" into rvc-dev am: da043aee24 am: 0233f238db am: 9315a51ac6

Change-Id: Idbfe0550ce51557ff4a38fb7fade93fd01c20759
This commit is contained in:
Automerger Merge Worker
2020-02-26 03:27:56 +00:00

View File

@@ -54,7 +54,6 @@ public final class ResourcesKey {
private final int mHash;
@UnsupportedAppUsage
public ResourcesKey(@Nullable String resDir,
@Nullable String[] splitResDirs,
@Nullable String[] overlayDirs,
@@ -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);
}