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

Commit c55cd103 authored by Sky Faber's avatar Sky Faber
Browse files

User wifi separation feature.

Change-Id: Iab79db10107ab5dbeb469c12621a9a4916bd62c9
parent 3e3857c4
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -916,6 +916,15 @@ public class WifiConfiguration implements Parcelable {
        return  false;
    }

    /**
     * Helper function, idenfity if a configuration should be treated as an enterprise network
     * @hide
     */
    public boolean isEnterprise() {
        return allowedKeyManagement.get(KeyMgmt.WPA_EAP) ||
            allowedKeyManagement.get(KeyMgmt.IEEE8021X);
    }

    /**
     * most recent time we have seen this configuration
     * @return most recent scanResult