private boolean launchInfoBarIfFileExists(final DownloadInfo info){
  final String fileName=info.getFileName();
  File dir=Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS);
  if (!dir.mkdir() && !dir.isDirectory())   return false;
  String dirName=dir.getName();
  final File file=new File(dir,info.getFileName());
  String fullDirPath=file.getParent();
  if (!file.exists())   return false;
  if (TextUtils.isEmpty(fileName) || TextUtils.isEmpty(dirName) || TextUtils.isEmpty(fullDirPath)) {
    return false;
  }
  nativeLaunchDownloadOverwriteInfoBar(this,mTab,info,info.getFileName(),dirName,fullDirPath);
  return true;
}

private boolean launchInfoBarIfFileExists ( final DownloadInfo info ) { final String fileName = info . getFileName ( ) ; File dir = Environment . getExternalStoragePublicDirectory ( Environment . DIRECTORY_DOWNLOADS ) ; if ( ! dir . mkdir ( ) && ! dir . isDirectory ( ) ) return false ; String dirName = dir . getName ( ) ; final File file = new File ( dir , info . getFileName ( ) ) ; String fullDirPath = file . getParent ( ) ; if ( ! file . exists ( ) ) return false ; if ( TextUtils . isEmpty ( fileName ) || TextUtils . isEmpty ( dirName ) || TextUtils . isEmpty ( fullDirPath ) ) { return false ; } nativeLaunchDownloadOverwriteInfoBar ( this , mTab , info , info . getFileName ( ) , dirName , fullDirPath ) ; return true ; }
launch an info bar if the file name already exists for the download .
