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

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

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

Merge "Documented return value of getRestrictBackgroundStatus()." into nyc-dev am: 522787f3 am: b811d4ed
am: 00463970

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

Change-Id: Ia86cbc0d7b0be02f7dad7446127c2c711bb9f771
parents 1aa5a7ae 00463970
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3365,6 +3365,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 {