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

This commit is contained in:
TreeHugger Robot
2016-05-16 22:17:41 +00:00
committed by Android (Google) Code Review

View File

@@ -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 {