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

Commit 147199e9 authored by Anton Hansson's avatar Anton Hansson Committed by Android (Google) Code Review
Browse files

Merge "Fix nullability annotations on equals methods" into main

parents 4624eedc b4377fc2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package android.media.audiopolicy;

import android.annotation.NonNull;
import android.annotation.Nullable;
import android.annotation.SystemApi;
import android.media.AudioAttributes;
import android.media.AudioSystem;
@@ -107,7 +108,7 @@ public final class AudioVolumeGroup implements Parcelable {
    }

    @Override
    public boolean equals(@NonNull Object o) {
    public boolean equals(@Nullable Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;