diff options
| author | TreeHugger Robot <treehugger-gerrit@google.com> | 2020-02-26 03:05:31 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-02-26 03:05:31 +0000 |
| commit | da043aee24e8b5cc8dcd7653a5ff90cd4aa2fb98 (patch) | |
| tree | 7af9690c270b0f5eb037cb1fa4d0db6c0aa1570c /core/java | |
| parent | 9c9ed396b5ac1f405edf9d1a3f78b15804ee8de4 (diff) | |
| parent | 93f2b3f9a21407fff6b2187949cc5f318ce05570 (diff) | |
Merge "Restore UnsupportedAppUsage method call" into rvc-dev
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/content/res/ResourcesKey.java | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/core/java/android/content/res/ResourcesKey.java b/core/java/android/content/res/ResourcesKey.java index 9e40f46c3c21..9da0f20d1006 100644 --- a/core/java/android/content/res/ResourcesKey.java +++ b/core/java/android/content/res/ResourcesKey.java @@ -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); } |
