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

Commit 00463970 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

am: b811d4ed

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

Change-Id: Id6197b9ee56fd06505c21c1bb5dce083998aa79a
parents 5fa0ec55 b811d4ed
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 {