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

Commit 608ce7a7 authored by Jimmy Chen's avatar Jimmy Chen
Browse files

p2p: hide factoryReset API

The API is non-public API if it is used by settings only.
Remove unnecessary System API notation.

Bug: 120072277
Test: Manual test
      * Run Network Reset Option in Settings
      * Check saved groups are cleared.

Change-Id: Id5147b8147a2ee68447b7757f314dbd3f84296e6
parent 0ba5e3d6
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -3887,14 +3887,6 @@ package android.net.wifi.aware {

}

package android.net.wifi.p2p {

  public class WifiP2pManager {
    method public void factoryReset(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
  }

}

package android.net.wifi.rtt {

  public static final class RangingRequest.Builder {
+0 −2
Original line number Diff line number Diff line
@@ -22,7 +22,6 @@ import android.annotation.Nullable;
import android.annotation.RequiresPermission;
import android.annotation.SdkConstant;
import android.annotation.SdkConstant.SdkConstantType;
import android.annotation.SystemApi;
import android.annotation.SystemService;
import android.annotation.UnsupportedAppUsage;
import android.content.Context;
@@ -1695,7 +1694,6 @@ public class WifiP2pManager {
     * @param listener for callback on success or failure. Can be null.
     * @hide
     */
    @SystemApi
    @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS)
    public void factoryReset(@NonNull Channel c, @Nullable ActionListener listener) {
        checkChannel(c);