Add comments

This commit is contained in:
misaochan 2016-07-05 19:11:11 +12:00
parent 2989b4a096
commit f845a9af70

View file

@ -178,6 +178,7 @@ public class MediaDetailPagerFragment extends Fragment implements ViewPager.OnPa
Uri imageUri = Uri.parse(imageUrl); Uri imageUri = Uri.parse(imageUrl);
DownloadManager.Request req = new DownloadManager.Request(imageUri); DownloadManager.Request req = new DownloadManager.Request(imageUri);
//These are not the image title and description fields, they are download descs for notifications
req.setDescription(getString(R.string.app_name)); req.setDescription(getString(R.string.app_name));
req.setTitle(m.getDisplayTitle()); req.setTitle(m.getDisplayTitle());
req.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, fileName); req.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, fileName);