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

Commit 85316d15 authored by Vinit Deshpande's avatar Vinit Deshpande Committed by Android (Google) Code Review
Browse files

Merge "User wifi separation feature."

parents 796f1b36 c55cd103
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