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

Commit 92a6f301 authored by Satoshi Kataoka's avatar Satoshi Kataoka
Browse files

Fix InputMethodSubtype#equals corresponding to hashCode

Change-Id: Ic9305a6f0f5d753f0ad674ad6c9ee648cc8a6ce9
parent 19db5200
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -459,12 +459,12 @@ public final class InputMethodSubtype implements Parcelable {
                return (subtype.hashCode() == hashCode());
            }
            return (subtype.hashCode() == hashCode())
                && (subtype.getNameResId() == getNameResId())
                && (subtype.getMode().equals(getMode()))
                && (subtype.getIconResId() == getIconResId())
                && (subtype.getLocale().equals(getLocale()))
                && (subtype.getMode().equals(getMode()))
                && (subtype.getExtraValue().equals(getExtraValue()))
                && (subtype.isAuxiliary() == isAuxiliary())
                && (subtype.overridesImplicitlyEnabledSubtype()
                        == overridesImplicitlyEnabledSubtype())
                && (subtype.isAsciiCapable() == isAsciiCapable());
        }
        return false;