mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Add comments
This commit is contained in:
parent
2989b4a096
commit
f845a9af70
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue