Merge "Expose WifiConfiguration#ephemeral is a SystemApi"

This commit is contained in:
TreeHugger Robot
2017-01-20 21:44:56 +00:00
committed by Android (Google) Code Review
2 changed files with 11 additions and 0 deletions

View File

@@ -27492,6 +27492,7 @@ package android.net.wifi {
method public int describeContents();
method public android.net.ProxyInfo getHttpProxy();
method public boolean hasNoInternetAccess();
method public boolean isEphemeral();
method public boolean isNoInternetAccessExpected();
method public boolean isPasspoint();
method public void setHttpProxy(android.net.ProxyInfo);

View File

@@ -707,6 +707,16 @@ public class WifiConfiguration implements Parcelable {
*/
public boolean ephemeral;
/**
* @hide
* Indicate that a WifiConfiguration is temporary and should not be saved
* nor considered by AutoJoin.
*/
@SystemApi
public boolean isEphemeral() {
return ephemeral;
}
/**
* @hide
* A hint about whether or not the network represented by this WifiConfiguration