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

Commit 5ae1d2c0 authored by paulhu's avatar paulhu
Browse files

Expose ConnectivityManager#TYPE_WIFI_P2P as SystemApi

Support wifi mainline module usage.

Bug: 135998869
Test: Build and make system-api-stubs-docs-update-current-api
      atest FrameworksNetTests

Change-Id: I77cb45e6b2aaf4ab2c457cb59ccf77b1b8c01fa9
parent dc20cafc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4316,6 +4316,7 @@ package android.net {
    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
    field @Deprecated public static final int TYPE_WIFI_P2P = 13; // 0xd
  }
  public abstract static class ConnectivityManager.OnStartTetheringCallback {
+1 −1
Original line number Diff line number Diff line
@@ -662,7 +662,7 @@ public class ConnectivityManager {
     * {@hide}
     */
    @Deprecated
    @UnsupportedAppUsage
    @SystemApi
    public static final int TYPE_WIFI_P2P    = 13;

    /**