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

Commit ecf63189 authored by Stephanie Bak's avatar Stephanie Bak Committed by Automerger Merge Worker
Browse files

Merge "Revise API documentation for WifiSsidPolicy" into udc-dev am:...

Merge "Revise API documentation for WifiSsidPolicy" into udc-dev am: 663fdde3 am: c492c551 am: a929cf1a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23645303



Change-Id: I11865e6bdb6e1a7297c55d0560c7826f366947dd
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 1104076e a929cf1a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -135,6 +135,10 @@ public final class WifiSsidPolicy implements Parcelable {
        dest.writeArraySet(mSsids);
    }

    /**
     * Two instances of WifiSsidPolicy is considered equal if they have
     * the same WifiSsidPolicyType and the same set of WifiSsids
     */
    @Override
    public boolean equals(Object thatObject) {
        if (this == thatObject) {
@@ -147,6 +151,9 @@ public final class WifiSsidPolicy implements Parcelable {
        return mPolicyType == that.mPolicyType && Objects.equals(mSsids, that.mSsids);
    }

    /**
     * Returns the hash code value of WifiSsidPolicyType and WifiSsid set
     */
    @Override
    public int hashCode() {
        return Objects.hash(mPolicyType, mSsids);