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

Commit 3ac88488 authored by Sarah Chin's avatar Sarah Chin
Browse files

Fix NPE in QosBearerSession

Test: atest QosBearerSessionTest
Bug: 271893427
Change-Id: I24a85cdbdda964be86b8b9d2880c1c9bfd516c31
parent 4489eec9
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -102,12 +102,11 @@ public final class QosBearerSession implements Parcelable{

        QosBearerSession other = (QosBearerSession) o;
        return this.qosBearerSessionId == other.qosBearerSessionId
                && this.qos.equals(other.qos)
                && Objects.equals(this.qos, other.qos)
                && this.qosBearerFilterList.size() == other.qosBearerFilterList.size()
                && this.qosBearerFilterList.containsAll(other.qosBearerFilterList);
    }


    public static final @NonNull Parcelable.Creator<QosBearerSession> CREATOR =
            new Parcelable.Creator<QosBearerSession>() {
                @Override