Merge "Fixed key comparison in equals method" into mnc-dev

This commit is contained in:
Fyodor Kupolov
2015-08-20 19:47:38 +00:00
committed by Android (Google) Code Review

View File

@@ -456,7 +456,7 @@ public class RestrictionEntry implements Parcelable {
if (o == this) return true;
if (!(o instanceof RestrictionEntry)) return false;
final RestrictionEntry other = (RestrictionEntry) o;
if (mType != other.mType || mKey.equals(other.mKey)) {
if (mType != other.mType || !mKey.equals(other.mKey)) {
return false;
}
if (mCurrentValues == null && other.mCurrentValues == null