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

Commit 68cf696b authored by Hai Shalom's avatar Hai Shalom
Browse files

[OWE] Rename isOweSupported to isEnhancedOpenSupported

Stick to the official WFA marketing name in this public API.

Bug: 125850601
Test: atest com.android.server.wifi
Test: Use Settings to scan and connect to OWE network
Change-Id: I4eb9fb99500d7d56489c00ef0ee2ac571ff162d1
parent fc9fd20d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29975,8 +29975,8 @@ package android.net.wifi {
    method public boolean is5GHzBandSupported();
    method @Deprecated public boolean isDeviceToApRttSupported();
    method public boolean isEasyConnectSupported();
    method public boolean isEnhancedOpenSupported();
    method public boolean isEnhancedPowerReportingSupported();
    method public boolean isOweSupported();
    method public boolean isP2pSupported();
    method public boolean isPreferredNetworkOffloadSupported();
    method @Deprecated public boolean isScanAlwaysAvailable();
+1 −1
Original line number Diff line number Diff line
@@ -1068,7 +1068,7 @@ public class WifiTracker implements LifecycleObserver, OnStart, OnStop, OnDestro
        }

        // Get and cache advanced capabilities
        final boolean isOweSupported = mWifiManager.isOweSupported();
        final boolean isOweSupported = mWifiManager.isEnhancedOpenSupported();
        final boolean isSaeSupported = mWifiManager.isWpa3SaeSupported();
        final boolean isSuiteBSupported = mWifiManager.isWpa3SuiteBSupported();

+1 −1
Original line number Diff line number Diff line
@@ -4524,7 +4524,7 @@ public class WifiManager {
    /**
     * @return true if this device supports Wi-Fi Enhanced Open (OWE)
     */
    public boolean isOweSupported() {
    public boolean isEnhancedOpenSupported() {
        return isFeatureSupported(WIFI_FEATURE_OWE);
    }