Merge "Documented return value of getRestrictBackgroundStatus()." into nyc-dev am: 522787f39a

am: ac719e480f

* commit 'ac719e480f66b7ef6e76b27a71396c98e7120804':
  Documented return value of getRestrictBackgroundStatus().

Change-Id: Id6197b9ee56fd06505c21c1bb5dce083998aa79a
This commit is contained in:
Felipe Leme
2016-05-16 22:28:27 +00:00
committed by android-build-merger

View File

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