Merge "Documented return value of getRestrictBackgroundStatus()." into nyc-dev am: 522787f39a am: ac719e480f
am: 2a7165b928
* commit '2a7165b9289f11b6f19d66cac259bef22b694323':
Documented return value of getRestrictBackgroundStatus().
Change-Id: Ia86cbc0d7b0be02f7dad7446127c2c711bb9f771
This commit is contained in:
@@ -3365,6 +3365,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