OSDN Git Service

Documented return value of getRestrictBackgroundStatus().
authorFelipe Leme <felipeal@google.com>
Mon, 16 May 2016 20:57:19 +0000 (13:57 -0700)
committerFelipe Leme <felipeal@google.com>
Mon, 16 May 2016 20:57:19 +0000 (13:57 -0700)
Change-Id: I2c15a6d5e23cbc3c9b59c975196c1c04c1294471
Fixes: 28775490

core/java/android/net/ConnectivityManager.java

index 43d9bf3..a45e6f5 100644 (file)
@@ -3362,6 +3362,10 @@ public class ConnectivityManager {
     /**
      * Determines if the calling application is subject to metered network restrictions while
      * running on background.
     /**
      * 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 {
      */
     public @RestrictBackgroundStatus int getRestrictBackgroundStatus() {
         try {