Fix NPE in QosBearerSession

Test: atest QosBearerSessionTest
Bug: 271893427
Change-Id: I24a85cdbdda964be86b8b9d2880c1c9bfd516c31
This commit is contained in:
Sarah Chin
2023-03-13 19:22:38 -07:00
parent 4489eec91b
commit 3ac88488ae

View File

@@ -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