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

Commit ecfcceae authored by Felipe Leme's avatar Felipe Leme
Browse files

Fixed RestrictBackgroundStatus signature by adding @hide.

BUG: 26082535
Change-Id: I2e4b63327a8f791db01ee0c1ab090557170857fa
parent 12eef9f1
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -22849,9 +22849,6 @@ package android.net {
    method public abstract void onNetworkActive();
  }
  public static abstract class ConnectivityManager.RestrictBackgroundStatus implements java.lang.annotation.Annotation {
  }
  public class Credentials {
    ctor public Credentials(int, int, int);
    method public int getGid();
+0 −3
Original line number Diff line number Diff line
@@ -24445,9 +24445,6 @@ package android.net {
    method public abstract void onNetworkActive();
  }
  public static abstract class ConnectivityManager.RestrictBackgroundStatus implements java.lang.annotation.Annotation {
  }
  public class Credentials {
    ctor public Credentials(int, int, int);
    method public int getGid();
+0 −3
Original line number Diff line number Diff line
@@ -22857,9 +22857,6 @@ package android.net {
    method public abstract void onNetworkActive();
  }
  public static abstract class ConnectivityManager.RestrictBackgroundStatus implements java.lang.annotation.Annotation {
  }
  public class Credentials {
    ctor public Credentials(int, int, int);
    method public int getGid();
+2 −1
Original line number Diff line number Diff line
@@ -3051,12 +3051,13 @@ public class ConnectivityManager {
     */
    public static final int RESTRICT_BACKGROUND_STATUS_ENABLED = 3;

    /** @hide */
    @Retention(RetentionPolicy.SOURCE)
    @IntDef(flag = false, value = {
            RESTRICT_BACKGROUND_STATUS_DISABLED,
            RESTRICT_BACKGROUND_STATUS_WHITELISTED,
            RESTRICT_BACKGROUND_STATUS_ENABLED,
    })
    @Retention(RetentionPolicy.SOURCE)
    public @interface RestrictBackgroundStatus {
    }