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

Commit 7fb5c3b7 authored by Roshan Pius's avatar Roshan Pius
Browse files

WifiManager: Mark NetworkSuggestionsStatusCode hidden

The intdef interfaces should be hidden according to API council
guidelines.

Bug: 122518129
Test: make api-stubs-docs-update-current-api
Change-Id: I46d38341fab7136ed053445eb92a065abc3a2a26
parent 2a68b63a
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -29748,9 +29748,6 @@ package android.net.wifi {
    method public void setReferenceCounted(boolean);
  }
  public static abstract class WifiManager.NetworkSuggestionsStatusCode implements java.lang.annotation.Annotation {
  }
  public class WifiManager.WifiLock {
    method public void acquire();
    method public boolean isHeld();
+3 −3
Original line number Diff line number Diff line
@@ -189,6 +189,7 @@ public class WifiManager {
     */
    public static final int STATUS_NETWORK_SUGGESTIONS_ERROR_REMOVE_INVALID = 5;

    /** @hide */
    @IntDef(prefix = { "STATUS_NETWORK_SUGGESTIONS_" }, value = {
            STATUS_NETWORK_SUGGESTIONS_SUCCESS,
            STATUS_NETWORK_SUGGESTIONS_ERROR_INTERNAL,
@@ -1652,7 +1653,7 @@ public class WifiManager {
     * suggestion back using this API.</li>
     *
     * @param networkSuggestions List of network suggestions provided by the app.
     * @return Status code corresponding to the values in {@link NetworkSuggestionsStatusCode}.
     * @return Status code for the operation. One of the STATUS_NETWORK_SUGGESTIONS_ values.
     * {@link WifiNetworkSuggestion#equals(Object)} any previously provided suggestions by the app.
     * @throws {@link SecurityException} if the caller is missing required permissions.
     */
@@ -1673,8 +1674,7 @@ public class WifiManager {
     *
     * @param networkSuggestions List of network suggestions to be removed. Pass an empty list
     *                           to remove all the previous suggestions provided by the app.
     * @return Status code corresponding to the values in
     * {@link NetworkSuggestionsStatusCode}.
     * @return Status code for the operation. One of the STATUS_NETWORK_SUGGESTIONS_ values.
     * Any matching suggestions are removed from the device and will not be considered for any
     * further connection attempts.
     */