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

Commit ffe7134d authored by Tomasz Wasilczyk's avatar Tomasz Wasilczyk Committed by android-build-merger
Browse files

Merge "Fix equality method implementation in BandConfig class." am: 30a34ec0 am: 5acbf708

am: 3329b63b

Change-Id: I45bf3234ccc66e5bcac071c0931846eed2e27f2b
parents 34a75f53 3329b63b
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -755,8 +755,9 @@ public class RadioManager {
            if (!(obj instanceof BandConfig))
                return false;
            BandConfig other = (BandConfig) obj;
            if (mDescriptor != other.getDescriptor())
                return false;
            BandDescriptor otherDesc = other.getDescriptor();
            if ((mDescriptor == null) != (otherDesc == null)) return false;
            if (mDescriptor != null && !mDescriptor.equals(otherDesc)) return false;
            return true;
        }
    }