public static Bundle createFragmentArgsForSite(String url){
  Bundle fragmentArgs=new Bundle();
  String origin=UrlUtilities.formatUrlForSecurityDisplay(URI.create(url),true);
  fragmentArgs.putString(SingleWebsitePreferences.EXTRA_ORIGIN,origin);
  return fragmentArgs;
}

public static Bundle createFragmentArgsForSite ( String url ) { Bundle fragmentArgs = new Bundle ( ) ; String origin = UrlUtilities . formatUrlForSecurityDisplay ( URI . create ( url ) , true ) ; fragmentArgs . putString ( SingleWebsitePreferences . EXTRA_ORIGIN , origin ) ; return fragmentArgs ; }
creates a bundle with the correct arguments for opening this fragment for the website with the given url .
