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

Commit 4dc238b5 authored by paulhu's avatar paulhu
Browse files

Expose ConnectivityManager#TYPE_NONE as SystemApi

Support wifi mainline module usage.

Bug: 135998869
Test: Build and make system-api-stubs-docs-update-current-api
      atest FrameworksNetTests
Change-Id: Ia496aaeaf74fa44764640fd2b97c417509e040aa
parent 78ff9fe2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4285,6 +4285,7 @@ package android.net {
    field public static final int TETHER_ERROR_ENTITLEMENT_UNKONWN = 13; // 0xd
    field public static final int TETHER_ERROR_NO_ERROR = 0; // 0x0
    field public static final int TETHER_ERROR_PROVISION_FAILED = 11; // 0xb
    field public static final int TYPE_NONE = -1; // 0xffffffff
  }
  public abstract static class ConnectivityManager.OnStartTetheringCallback {
+1 −1
Original line number Diff line number Diff line
@@ -517,7 +517,7 @@ public class ConnectivityManager {
     * The absence of a connection type.
     * @hide
     */
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P, trackingBug = 130143562)
    @SystemApi
    public static final int TYPE_NONE        = -1;

    /**