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

Commit 22cddedc authored by William Escande's avatar William Escande
Browse files

Errorprone: InconsistentHashCode

Bug: 366301935
Fix: 366301935
Bug: 344658662
Test: m Bluetooth
Flag: Exempt enforcing errorprone
Change-Id: I77832ed08c18a10f72f6f649a8de9d620b940cc9
parent 1e01f541
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -341,6 +341,7 @@ android_app {
            "-Xep:FallThrough:ERROR",
            "-Xep:Finalize:ERROR",
            "-Xep:HidingField:ERROR",
            "-Xep:InconsistentHashCode:ERROR",
            "-Xep:InlineMeInliner:ERROR",
            "-Xep:InvalidBlockTag:ERROR",
            "-Xep:InvalidParam:ERROR",
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ public class Metadata implements Cloneable {
    @Override
    public int hashCode() {
        // Do not hash the Image as it does not implement hashCode
        return Objects.hash(mediaId, title, artist, album, trackNum, numTracks, genre, duration);
        return Objects.hash(title, artist, album, trackNum, numTracks, genre, duration);
    }

    @Override