public void setDefaultNetworkActive ( boolean isActive ) { defaultNetworkActive = isActive ; if ( defaultNetworkActive ) { for ( ConnectivityManager . OnNetworkActiveListener l : onNetworkActiveListeners ) { if ( l != null ) { l . onNetworkActive ( ) ; } } } }
Sets the active state of the default network .