Merge "Frameworks/base: Fix a comparison"

This commit is contained in:
Andreas Gampe
2015-03-17 00:12:24 +00:00
committed by Gerrit Code Review

View File

@@ -573,7 +573,7 @@ public final class AccessibilityWindowInfo implements Parcelable {
if (other.mType != mType) {
throw new IllegalArgumentException("Not same type.");
}
if (!mBoundsInScreen.equals(mBoundsInScreen)) {
if (!mBoundsInScreen.equals(other.mBoundsInScreen)) {
return true;
}
if (mLayer != other.mLayer) {