private void removeDownloadIdFromSharedPrefs(int downloadId){
  Set<String> downloadIds=getStoredDownloadInfo(DOWNLOAD_NOTIFICATION_IDS);
  String id=Integer.toString(downloadId);
  if (downloadIds.contains(id)) {
    downloadIds.remove(id);
    storeDownloadInfo(DOWNLOAD_NOTIFICATION_IDS,downloadIds);
  }
}

private void removeDownloadIdFromSharedPrefs ( int downloadId ) { Set < String > downloadIds = getStoredDownloadInfo ( DOWNLOAD_NOTIFICATION_IDS ) ; String id = Integer . toString ( downloadId ) ; if ( downloadIds . contains ( id ) ) { downloadIds . remove ( id ) ; storeDownloadInfo ( DOWNLOAD_NOTIFICATION_IDS , downloadIds ) ; } }
removes a donwload id from sharedprefs .
