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

Commit a3264c4e authored by Etan Cohen's avatar Etan Cohen
Browse files

[NAN] Do not expose WifiManager.isNanSupported as new API

The WifiManager.isXxxSupported() only functions if HAL is enabled
and seems to be a duplicate of:

PackageManager.hasSystemFeature(PackageManager.FEATURE_WIFI_NAN)

Bug: 28251988
Change-Id: I8f410def6f0bd3d3fc0926072ab66acce52a0e14
parent 06c3ef13
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1109,7 +1109,7 @@ public class WifiManager {

    /**
     * @return true if this adapter supports Neighbour Awareness Network APIs
     * @hide PROPOSED_NAN_API
     * @hide
     */
    public boolean isNanSupported() {
        return isFeatureSupported(WIFI_FEATURE_NAN);