Merge "Fixed key comparison in equals method" into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1773ded846
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user