Merge "Documented return value of getRestrictBackgroundStatus()." into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
522787f39a
@@ -3362,6 +3362,10 @@ public class ConnectivityManager {
|
|||||||
/**
|
/**
|
||||||
* Determines if the calling application is subject to metered network restrictions while
|
* Determines if the calling application is subject to metered network restrictions while
|
||||||
* running on background.
|
* running on background.
|
||||||
|
*
|
||||||
|
* @return {@link #RESTRICT_BACKGROUND_STATUS_DISABLED},
|
||||||
|
* {@link #RESTRICT_BACKGROUND_STATUS_ENABLED},
|
||||||
|
* or {@link #RESTRICT_BACKGROUND_STATUS_WHITELISTED}
|
||||||
*/
|
*/
|
||||||
public @RestrictBackgroundStatus int getRestrictBackgroundStatus() {
|
public @RestrictBackgroundStatus int getRestrictBackgroundStatus() {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user