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

Commit b0423191 authored by Stephanie Bak's avatar Stephanie Bak
Browse files

Revise API documentation for WifiSsidPolicy

Bug: 283457567
Change-Id: I8c6e1bb5e32b554134ab6c37a1379422a549205f
Test: TH
parent 36f3373f
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);