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:
commit
ac719e480f
1 changed files with 4 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue