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

Commit d028ec4e authored by Felipe Leme's avatar Felipe Leme Committed by android-build-merger
Browse files

Merge "Documented return value of getRestrictBackgroundStatus()." into nyc-dev

am: 522787f3

* commit '522787f3':
  Documented return value of getRestrictBackgroundStatus().

Change-Id: I1187ffeeb42b61329674ca022735efa08c7e9d98
parents 0092f82d 522787f3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3362,6 +3362,10 @@ public class ConnectivityManager {
    /**
     * Determines if the calling application is subject to metered network restrictions while
     * running on background.
     *
     * @return {@link #RESTRICT_BACKGROUND_STATUS_DISABLED},
     * {@link #RESTRICT_BACKGROUND_STATUS_ENABLED},
     * or {@link #RESTRICT_BACKGROUND_STATUS_WHITELISTED}
     */
    public @RestrictBackgroundStatus int getRestrictBackgroundStatus() {
        try {