Merge "Documented return value of getRestrictBackgroundStatus()." into nyc-dev
am: 522787f39a * commit '522787f39a759cf8af8438641fa8df7470a1b959': Documented return value of getRestrictBackgroundStatus(). Change-Id: Ie2e7b14ecc0b574a8776121d3c79c768093ef4f7
This commit is contained in:
@@ -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