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

Commit 9f652107 authored by Amin Shaikh's avatar Amin Shaikh
Browse files

Expose WifiConfiguration#ephemeral is a SystemApi

Bug: 34503179
Test: make
Change-Id: I3a89b89da67152bb522ae4dbfd1cfe1b4830d8ae
parent d48fed9b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -27471,6 +27471,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);
+10 −0
Original line number Diff line number Diff line
@@ -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