Merge "Merge "Restore UnsupportedAppUsage method call" into rvc-dev am: da043aee24 am: d42b6fa9b9" into rvc-d1-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
960a1901a1
@@ -54,7 +54,6 @@ public final class ResourcesKey {
|
|||||||
|
|
||||||
private final int mHash;
|
private final int mHash;
|
||||||
|
|
||||||
@UnsupportedAppUsage
|
|
||||||
public ResourcesKey(@Nullable String resDir,
|
public ResourcesKey(@Nullable String resDir,
|
||||||
@Nullable String[] splitResDirs,
|
@Nullable String[] splitResDirs,
|
||||||
@Nullable String[] overlayDirs,
|
@Nullable String[] overlayDirs,
|
||||||
@@ -85,6 +84,18 @@ public final class ResourcesKey {
|
|||||||
mHash = hash;
|
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() {
|
public boolean hasOverrideConfiguration() {
|
||||||
return !Configuration.EMPTY.equals(mOverrideConfiguration);
|
return !Configuration.EMPTY.equals(mOverrideConfiguration);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user