diff options
| -rw-r--r-- | wifi/java/android/net/wifi/hotspot2/PasspointConfiguration.java | 6 | ||||
| -rw-r--r-- | wifi/java/android/net/wifi/hotspot2/pps/Policy.java | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/wifi/java/android/net/wifi/hotspot2/PasspointConfiguration.java b/wifi/java/android/net/wifi/hotspot2/PasspointConfiguration.java index ca4d12141871..f1174b677dcd 100644 --- a/wifi/java/android/net/wifi/hotspot2/PasspointConfiguration.java +++ b/wifi/java/android/net/wifi/hotspot2/PasspointConfiguration.java @@ -217,9 +217,9 @@ public final class PasspointConfiguration implements Parcelable { return (homeSp == null ? that.homeSp == null : homeSp.equals(that.homeSp)) && (credential == null ? that.credential == null : credential.equals(that.credential)) - && (policy == null) ? that.policy == null : policy.equals(that.policy) - && (subscriptionUpdate == null) ? that.subscriptionUpdate == null - : subscriptionUpdate.equals(that.subscriptionUpdate) + && (policy == null ? that.policy == null : policy.equals(that.policy)) + && (subscriptionUpdate == null ? that.subscriptionUpdate == null + : subscriptionUpdate.equals(that.subscriptionUpdate)) && isTrustRootCertListEquals(trustRootCertList, that.trustRootCertList) && updateIdentifier == that.updateIdentifier && credentialPriority == that.credentialPriority diff --git a/wifi/java/android/net/wifi/hotspot2/pps/Policy.java b/wifi/java/android/net/wifi/hotspot2/pps/Policy.java index b2583d324420..bc294025c142 100644 --- a/wifi/java/android/net/wifi/hotspot2/pps/Policy.java +++ b/wifi/java/android/net/wifi/hotspot2/pps/Policy.java @@ -293,13 +293,13 @@ public final class Policy implements Parcelable { && minRoamingDownlinkBandwidth == that.minRoamingDownlinkBandwidth && minRoamingUplinkBandwidth == that.minRoamingUplinkBandwidth && Arrays.equals(excludedSsidList, that.excludedSsidList) - && (requiredProtoPortMap == null) ? that.requiredProtoPortMap == null - : requiredProtoPortMap.equals(that.requiredProtoPortMap) + && (requiredProtoPortMap == null ? that.requiredProtoPortMap == null + : requiredProtoPortMap.equals(that.requiredProtoPortMap)) && maximumBssLoadValue == that.maximumBssLoadValue - && (preferredRoamingPartnerList == null) ? that.preferredRoamingPartnerList == null - : preferredRoamingPartnerList.equals(that.preferredRoamingPartnerList) - && (policyUpdate == null) ? that.policyUpdate == null - : policyUpdate.equals(that.policyUpdate); + && (preferredRoamingPartnerList == null ? that.preferredRoamingPartnerList == null + : preferredRoamingPartnerList.equals(that.preferredRoamingPartnerList)) + && (policyUpdate == null ? that.policyUpdate == null + : policyUpdate.equals(that.policyUpdate)); } /** |