Loading core/java/android/content/res/Resources.java +19 −0 Original line number Diff line number Diff line Loading @@ -1923,6 +1923,25 @@ public class Resources { } } } @Override public int hashCode() { return getKey().hashCode(); } @Override public boolean equals(@Nullable Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass() || hashCode() != o.hashCode()) { return false; } final Theme other = (Theme) o; return getKey().equals(other.getKey()); } } static class ThemeKey implements Cloneable { Loading Loading
core/java/android/content/res/Resources.java +19 −0 Original line number Diff line number Diff line Loading @@ -1923,6 +1923,25 @@ public class Resources { } } } @Override public int hashCode() { return getKey().hashCode(); } @Override public boolean equals(@Nullable Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass() || hashCode() != o.hashCode()) { return false; } final Theme other = (Theme) o; return getKey().equals(other.getKey()); } } static class ThemeKey implements Cloneable { Loading