public void onDownloadCompleted(DownloadInfo downloadInfo,String notifyURI){
  long downloadId=downloadInfo.getDownloadId();
  OMAInfo omaInfo=mPendingOMADownloads.get(downloadId);
  if (omaInfo == null) {
    omaInfo=new OMAInfo();
    omaInfo.addAttributeValue(OMA_INSTALL_NOTIFY_URI,notifyURI);
  }
  sendInstallNotificationAndNextStep(omaInfo,downloadInfo,DOWNLOAD_STATUS_SUCCESS);
  mPendingOMADownloads.remove(downloadId);
}

public void onDownloadCompleted ( DownloadInfo downloadInfo , String notifyURI ) { long downloadId = downloadInfo . getDownloadId ( ) ; OMAInfo omaInfo = mPendingOMADownloads . get ( downloadId ) ; if ( omaInfo == null ) { omaInfo = new OMAInfo ( ) ; omaInfo . addAttributeValue ( OMA_INSTALL_NOTIFY_URI , notifyURI ) ; } sendInstallNotificationAndNextStep ( omaInfo , downloadInfo , DOWNLOAD_STATUS_SUCCESS ) ; mPendingOMADownloads . remove ( downloadId ) ; }
called when the content is successfully downloaded by the android downloadmanager .
