Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c4af350 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Restore UnsupportedAppUsage method call" into rvc-dev am: da043aee...

Merge "Restore UnsupportedAppUsage method call" into rvc-dev am: da043aee am: 0233f238 am: 9315a51a

Change-Id: Idbfe0550ce51557ff4a38fb7fade93fd01c20759
parents c0b4427a 9315a51a
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
@@ -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);
    }