Loading api/system-current.txt +2 −0 Original line number Original line Diff line number Diff line Loading @@ -27307,6 +27307,8 @@ package android.net.wifi { public class WifiConfiguration implements android.os.Parcelable { public class WifiConfiguration implements android.os.Parcelable { ctor public WifiConfiguration(); ctor public WifiConfiguration(); method public int describeContents(); method public int describeContents(); method public boolean hasNoInternetAccess(); method public boolean isNoInternetAccessExpected(); method public boolean isPasspoint(); method public boolean isPasspoint(); method public void writeToParcel(android.os.Parcel, int); method public void writeToParcel(android.os.Parcel, int); field public java.lang.String BSSID; field public java.lang.String BSSID; wifi/java/android/net/wifi/WifiConfiguration.java +12 −0 Original line number Original line Diff line number Diff line Loading @@ -608,6 +608,7 @@ public class WifiConfiguration implements Parcelable { * if there has been a report of it having no internet access, and, it never have had * if there has been a report of it having no internet access, and, it never have had * internet access in the past. * internet access in the past. */ */ @SystemApi public boolean hasNoInternetAccess() { public boolean hasNoInternetAccess() { return numNoInternetAccessReports > 0 && !validatedInternetAccess; return numNoInternetAccessReports > 0 && !validatedInternetAccess; } } Loading @@ -620,6 +621,17 @@ public class WifiConfiguration implements Parcelable { */ */ public boolean noInternetAccessExpected; public boolean noInternetAccessExpected; /** * The WiFi configuration is expected not to have Internet access (e.g., a wireless printer, a * Chromecast hotspot, etc.). This will be set if the user explicitly confirms a connection to * this configuration and selects "don't ask again". * @hide */ @SystemApi public boolean isNoInternetAccessExpected() { return noInternetAccessExpected; } /** /** * @hide * @hide * Last time the system was connected to this configuration. * Last time the system was connected to this configuration. Loading Loading
api/system-current.txt +2 −0 Original line number Original line Diff line number Diff line Loading @@ -27307,6 +27307,8 @@ package android.net.wifi { public class WifiConfiguration implements android.os.Parcelable { public class WifiConfiguration implements android.os.Parcelable { ctor public WifiConfiguration(); ctor public WifiConfiguration(); method public int describeContents(); method public int describeContents(); method public boolean hasNoInternetAccess(); method public boolean isNoInternetAccessExpected(); method public boolean isPasspoint(); method public boolean isPasspoint(); method public void writeToParcel(android.os.Parcel, int); method public void writeToParcel(android.os.Parcel, int); field public java.lang.String BSSID; field public java.lang.String BSSID;
wifi/java/android/net/wifi/WifiConfiguration.java +12 −0 Original line number Original line Diff line number Diff line Loading @@ -608,6 +608,7 @@ public class WifiConfiguration implements Parcelable { * if there has been a report of it having no internet access, and, it never have had * if there has been a report of it having no internet access, and, it never have had * internet access in the past. * internet access in the past. */ */ @SystemApi public boolean hasNoInternetAccess() { public boolean hasNoInternetAccess() { return numNoInternetAccessReports > 0 && !validatedInternetAccess; return numNoInternetAccessReports > 0 && !validatedInternetAccess; } } Loading @@ -620,6 +621,17 @@ public class WifiConfiguration implements Parcelable { */ */ public boolean noInternetAccessExpected; public boolean noInternetAccessExpected; /** * The WiFi configuration is expected not to have Internet access (e.g., a wireless printer, a * Chromecast hotspot, etc.). This will be set if the user explicitly confirms a connection to * this configuration and selects "don't ask again". * @hide */ @SystemApi public boolean isNoInternetAccessExpected() { return noInternetAccessExpected; } /** /** * @hide * @hide * Last time the system was connected to this configuration. * Last time the system was connected to this configuration. Loading