returns true if the network is available or about to become available . concode_field_sep int TYPE_NOT_CONNECTED concode_elem_sep int COLUMN_OTX_RESPONSE concode_elem_sep int COLUMN_TYPE concode_elem_sep int COLUMN_URL concode_elem_sep String[] OTXRESPONSES_COLUMNS concode_elem_sep int TYPE_MOBILE concode_elem_sep int COLUMN_ID concode_elem_sep int COLUMN_THREAT_SCORE concode_elem_sep int COLUMN_IP_ADDRESS concode_elem_sep int TYPE_WIFI concode_field_sep String getConnectivityStatusString concode_elem_sep int getConnectivityStatus
boolean function ( Context arg0 ) { ConnectivityManager loc0 = ( ConnectivityManager ) arg0 . getSystemService ( Context . CONNECTIVITY_SERVICE ) ; NetworkInfo loc1 = loc0 . getActiveNetworkInfo ( ) ; if ( loc1 != null && loc1 . getType ( ) == ConnectivityManager . TYPE_MOBILE ) { Timber . v ( loc1 . getExtraInfo ( ) ) ; return true ; } return false ; }