private void removeOMADownloadFromSharedPrefs(long downloadId){
  Set<String> omaDownloads=getStoredDownloadInfo(PENDING_OMA_DOWNLOADS);
  for (  String omaDownload : omaDownloads) {
    OMAEntry entry=OMAEntry.parseOMAEntry(omaDownload);
    if (entry.mDownloadId == downloadId) {
      omaDownloads.remove(omaDownload);
      storeDownloadInfo(PENDING_OMA_DOWNLOADS,omaDownloads);
      return;
    }
  }
}

private void removeOMADownloadFromSharedPrefs ( long downloadId ) { Set < String > omaDownloads = getStoredDownloadInfo ( PENDING_OMA_DOWNLOADS ) ; for ( String omaDownload : omaDownloads ) { OMAEntry entry = OMAEntry . parseOMAEntry ( omaDownload ) ; if ( entry . mDownloadId == downloadId ) { omaDownloads . remove ( omaDownload ) ; storeDownloadInfo ( PENDING_OMA_DOWNLOADS , omaDownloads ) ; return ; } } }
remove oma download info from sharedprefs .
