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

Commit 19c0b886 authored by Tony Guo's avatar Tony Guo
Browse files

Remove one duplicate comparison from OutputConfiguration#equals

The "mConfiguredFormat" field is compared twice in #equals, so
delete one of them.

Change-Id: I51177c55abb8bfde5b1bc4b3d21bc7b842a9d761
parent 3f4e2a78
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1379,7 +1379,6 @@ public final class OutputConfiguration implements Parcelable {
                    mSurfaceType != other.mSurfaceType ||
                    mIsDeferredConfig != other.mIsDeferredConfig ||
                    mIsShared != other.mIsShared ||
                    mConfiguredFormat != other.mConfiguredFormat ||
                    mConfiguredDataspace != other.mConfiguredDataspace ||
                    mConfiguredGenerationId != other.mConfiguredGenerationId ||
                    !Objects.equals(mPhysicalCameraId, other.mPhysicalCameraId) ||