Loading core/java/android/net/ConnectivityManager.java +4 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
core/java/android/net/ConnectivityManager.java +4 −0 Original line number Diff line number Diff line Loading @@ -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