r.allowScanningByMediaScanner();
r.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);
DownloadManager dm = (DownloadManager) MainApplication.getContext().getSystemService(Context.DOWNLOAD_SERVICE);
dm.enqueue(r);
} catch (Exception e) {
<BUG>Toast.makeText(getActivity(), R.string.error, Toast.LENGTH_LONG).show();
}</BUG>
}
}).show();
}

r.allowScanningByMediaScanner();
r.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);
DownloadManager dm = (DownloadManager) MainApplication.getContext().getSystemService(Context.DOWNLOAD_SERVICE);
dm.enqueue(r);
} catch (Exception e) {
UiUtils.showMessage(getActivity(), R.string.error);
}
}
}).show();
}
