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

Commit 522787f3 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 5bfaa9c1 c9c7be58
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 {